This update content:
- Added automatic implicit conversion
Map
toJavaBean
type #I251SS - New
session.key = value
writing method forsession
writing values to - New aggregate functions
every
,some
,reduce
,skip
,limit
,findNotNull
- New
Map
functionssort
,each
,asString
,merge
,asList
- New
Number
functionsround
,toFixed
,floor
,ceil
,atPercent
- New
Date
functionformat
- Fix
lambda
the bug of incorrect variable acquisition when calling #I2632N - Optimize
Map
type definition and keep writing order - Optimize the editor, can fold
import
, and support automatic line wrapping when a single line is too long. - Optimize editor highlighting, support
SQL
highlighting - Optimize the
Loading
interface - Optimize some logic, support
JDK9+
- Optimize the internal code and
DatabaseQuery
rename it toSQLExecutor
Project Introduction
magic-api is a Java-based interface rapid development framework. The interface is written through the UI interface provided by magic-api. Common HTTP API interface development can be completed without defining Java objects such as Controller, Service, Dao, Mapper, XML, VO, etc.
How to use
maven introduction
<!-- 以spring-boot-starter的方式引用 --> <dependency> <groupId>org.ssssssss</groupId> <artifactId>magic-api-spring-boot-starter</artifactId> <version>0.4.7</version> </dependency
Modify application.properties
server.port =9999 #Configure web page entrance magic.web =/magic/web #The following configuration needs to be modified according to the actual situation spring.datasource.url =jdbc:mysql://localhost/test spring.datasource.username =root spring. datasource.password =123456789 spring.datasource.driver-class-name =com.mysql.jdbc.Drive
Execute table creation statement
Execute the db/magic-api.sql table creation statement in the source code
Online editing
Access http://localhost:9999/magic/web
to operate
Documents & Demo
- Document address: https://ssssssss.org
- Online demo: http://140.143.210.90:9999/magic/web