This update content:
- Added script asynchronous call function
- New aggregate functions
sort
,reserve
,join
,shuffle
- New code folding function
- Optimize simulation test, change to actual request
- Optimize
BigDecimal
code hints for types - Optimize code hints for enumerated types
- Optimize
Spring Security
support for the framework, automatically adapt to solveThreadLocal
problems - Removal
Cookie
,Session
simulation
Project Introduction
magic-api is an interface rapid development framework, scripting and configuration are written through web pages, automatically mapped to HTTP interfaces, 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.2</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