feat: 添加 Spring Boot API 服务和前端 uniapp 对接
- 新增 Spring Boot 主类 XuanApplication - 新增八字排盘 REST API 控制器 BaZiController - 更新 pom.xml 添加 Spring Boot 依赖 - 新增前端 API 请求工具类 api.js - 修改 bazi.vue 调用后端 API - 修改 result.vue 适配后端数据格式 - 新增 application.properties 配置文件
This commit is contained in:
1 parent
3ed8e94723
commit
0ef15520fa
8 files changed
+3702
-203
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package xuan;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class XuanApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(XuanApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user