This update content:
- New database storage and
Redis
storage solutions - Added support for customizable storage methods
- Added the option to block detection updates
- New interface execution time
executeTime
- Fix
db
the bug I38LDB that cannot be automatically injected into the module - Fix the request that
swagger
cannot be tested withRequestBody
- Fix the problem that the value is 0 during type conversion I398ND
- Fix
as
the problem of incorrect code prompt when omitted - Fix the problem that the scroll bar of the code editor is not positioned correctly when switching scripts
- Optimize the generated
swagger
document and display the interface description - Optimize read resource logic, compatible
Spring Boot
2.1.x
2.2.x
2.3.x
2.4.x
- Optimize the code and increase the output of exception log to facilitate problem location
magic-api is a Java-based interface rapid development framework. The interface will be written through the UI interface provided by magic-api, and it will be automatically mapped to an HTTP interface. There is no need to define Java objects such as Controller, Service, Dao, Mapper, XML, and VO. Complete common HTTP API interface development
characteristic
- Support MySQL, MariaDB, Oracle, DB2, PostgreSQL, SQLServer and other databases that support jdbc specification
- Support non-relational databases Redis, Mongodb
- Support paging query and custom paging query
- Supports multi-data source configuration, supports dynamic addition of data sources at runtime
- Support SQL cache, and custom SQL cache
- Support SQL interception, custom paging dialect, custom column name conversion
- Support custom JSON results, custom paging results
- Support for interface permission configuration, interceptor and other functions
- Support dynamic modification of data source at runtime
- Support Swagger interface document generation
- Based on magic-script script engine, dynamic compilation, no need to restart, real-time publishing
- Support Linq-style query, simpler association and conversion
- Support database transaction, SQL support splicing, placeholder, judgment and other syntax
- Support file upload, download, output picture
- Support script historical version comparison and recovery
- Support script code automatic prompt, error prompt, parameter prompt, syntax error prompt
- Support importing Beans in Spring and classes in Java
- Support online debugging script engine
- Support custom tool classes, custom module packages, custom type extensions, custom functions, etc.
Quick start
Introduced by maven
<!-- Reference in the way of spring-boot-starter --> < dependency > <groupId>org.ssssssss</groupId> <artifactId>magic-api-spring-boot-starter</artifactId> <version>0.7.1</version><!-- 替换为最新版本号 --> </dependency
Modify application.properties
server.port = 9999 #Configure web page entrance magic-api.web = /magic/web #Configuration file storage location. When starting with classpath, it is read-only magic-api.workspace = /data/magic-api
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