From aed297a5fbc8df9dab01b28da21f872ee546b43c Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 13 十月 2025 16:15:11 +0800
Subject: [PATCH] 2025.10.13 1. 统一调整controller层的返回类型,通过添加全局响应增强器GlobalResponseAdvice来管理返回结果; 2. 新增mybatis-generator自定义插件,实现给数据库实体entity自动添加swagger注解@ApiModel和@ApiModelProperty
---
src/main/resources/application-test.yml | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index 69cabda..aa6b7d0 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -11,12 +11,12 @@
# username: root
# password: cn.FLIGHTFEATHER
- #-杩滅▼娴嬭瘯鏈嶅姟鍣�-
+ #-杩滅▼姝e紡鏈嶅姟鍣紙鏆傚仛娴嬭瘯锛�-
url: jdbc:mysql://47.100.191.150:3306/supervision?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
username: remoteU1
password: eSoF8DnzfGTlhAjE
ds2:
- #-杩滅▼娴嬭瘯鏈嶅姟鍣�-
+ #-杩滅▼姝e紡鏈嶅姟鍣紙鏆傚仛娴嬭瘯锛�-
url: jdbc:mysql://47.100.191.150:3306/ledger?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
username: remoteU1
password: eSoF8DnzfGTlhAjE
@@ -26,3 +26,7 @@
swagger:
v2:
enabled: true
+
+imgPath: C:\02product\supervision\images
+filePath: C:\02product\supervision\files
+mode: test
\ No newline at end of file
--
Gitblit v1.9.3