-
Notifications
You must be signed in to change notification settings - Fork 0
接入magic api
xinwu-yang edited this page Feb 28, 2023
·
1 revision
magic-api是一个基于Java的接口快速开发框架,编写接口将通过magic-api提供的UI界面完成,自动映射为HTTP接口。 无需定义Controller、Service、Dao、Mapper、XML、VO等Java对象即可完成常见的HTTP API接口开发。
- 引入依赖
<dependency>
<groupId>org.ssssssss</groupId>
<artifactId>magic-api-spring-boot-starter</artifactId>
<version>2.0.2</version>
</dependency>- 配置
application.yml
magic-api:
web: /magic/web
resource:
location: D:/data/magic-api- 访问
********************************************当前服务相关地址********************************************
服务启动成功,magic-api已内置启动! Access URLs:
接口本地地址: http://localhost:8080/cube/
接口外部地址: http://172.20.144.1:8080/cube/
接口配置平台: http://172.20.144.1:8080/cube/magic/web/index.html
可通过配置关闭输出: magic-api.show-url=false
********************************************当前服务相关地址********************************************
菜单路由配置
数据权限
表单权限
SSO单点登录
Prometheus
微服务组件