From 55f2cdcc58e36210f0c6be9c93488bf37d1c8f5e Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期四, 20 三月 2025 09:34:16 +0800 Subject: [PATCH] 高级安全防护 --- src/main/resources/application.properties | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index eb77fa7..56e209c 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -10,11 +10,13 @@ spring.datasource.password=CloudRoam #mybatis-plus配置 mybatis-plus.mapper-locations=classpath:./mapper_xml/*.xml + + # Redis #spring.redis.host=192.168.1.235 -spring.redis.host=localhost +spring.redis.host=192.168.1.235 spring.redis.port=6379 -#spring.redis.password=123456 +spring.redis.password=123456 #租户对应的角色id manage.roleId=10 #租户允许创建的用户数 @@ -40,4 +42,9 @@ volc.sms.secret-key= your-volc-secret-key # ???SecretKey volc.sms.region= cn-north-1 # ?????????? volc.sms.sign-name= ????? # ???? -volc.sms.template-id= SMS_1234567890 # ????ID \ No newline at end of file +volc.sms.template-id= SMS_1234567890 # ????ID + +pagehelper.helper-dialect=mysql +pagehelper.reasonable=true +pagehelper.support-methods-arguments=true +pagehelper.params=count=countSql \ No newline at end of file -- Gitblit v1.9.3