From 426b962ef0c40ae856e06360a26c3fb121d0ff60 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 03 九月 2025 11:22:02 +0800 Subject: [PATCH] art: 集成Swagger2 --- src/main/resources/application-dev.yml | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index f60e015..8d0ca43 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -42,14 +42,14 @@ username: sa password: sa123 driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver - slave_1: + assembly2: url: jdbc:sqlserver://127.0.0.1:1433;databasename=XHJ-HUB3Line;nullCatalogMeansCurrent=true username: sa password: sa123 driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver #mybatis plus 璁剧疆 mybatis-plus: - mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml + mapper-locations: classpath*:com/lxzn/modules/**/xml/*Mapper.xml global-config: # 鍏抽棴MP3.0鑷甫鐨刡anner banner: false @@ -62,4 +62,14 @@ # 杩欎釜閰嶇疆浼氬皢鎵ц鐨剆ql鎵撳嵃鍑烘潵锛屽湪寮�鍙戞垨娴嬭瘯鐨勬椂鍊欏彲浠ョ敤 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 杩斿洖绫诲瀷涓篗ap,鏄剧ずnull瀵瑰簲鐨勫瓧娈� - call-setters-on-nulls: true \ No newline at end of file + call-setters-on-nulls: true +#swagger +knife4j: + #寮�鍚寮洪厤缃� + enable: true + #寮�鍚敓浜х幆澧冨睆钄� + production: false + basic: + enable: false + username: jeecg + password: jeecg1314 \ No newline at end of file -- Gitblit v1.9.3