From 083b6b602113a19cba898d097c70fe51435bbe12 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期三, 07 五月 2025 10:56:23 +0800 Subject: [PATCH] 配置 --- src/main/resources/application-druid.yml | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application-druid.yml b/src/main/resources/application-druid.yml index 7803ead..2fd345a 100644 --- a/src/main/resources/application-druid.yml +++ b/src/main/resources/application-druid.yml @@ -13,9 +13,9 @@ slave: # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴 enabled: false - url: - username: - password: + url: + username: + password: # 鍒濆杩炴帴鏁� initialSize: 5 # 鏈�灏忚繛鎺ユ睜鏁伴噺 @@ -39,7 +39,7 @@ testWhileIdle: true testOnBorrow: false testOnReturn: false - webStatFilter: + webStatFilter: enabled: true statViewServlet: enabled: true @@ -58,4 +58,17 @@ merge-sql: true wall: config: - multi-statement-allow: true \ No newline at end of file + multi-statement-allow: true + +# mybatis-plus閰嶇疆 +mybatis-plus: + mapper-locations: classpath*:mapper/**/*Mapper.xml + type-aliases-package: com.ruoyi.**.domain + global-config: + banner: off + db-config: + id-type: auto + configuration: + map-underscore-to-camel-case: true + cache-enabled: false + log-impl: # org.apache.ibatis.logging.stdout.StdOutImpl \ No newline at end of file -- Gitblit v1.9.3