本地调试

This commit is contained in:
pan
2025-07-21 10:37:57 +08:00
parent 471441918c
commit 764b57ae66
2 changed files with 19 additions and 9 deletions

View File

@@ -6,9 +6,15 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://192.168.1.168:3307/tool_tech?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: tool_tech
password: Tooltech@123
#url: jdbc:mysql://120.26.204.194:3307/tool_tech?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#username: root
#password: Password123@mysql
url: jdbc:mysql://localhost:3306/tool_tech?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: root
#url: jdbc:mysql://192.168.1.168:3307/tool_tech?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#username: tool_tech
#password: Tooltech@123
# 从库数据源
slave:
# 从数据源开关/默认关闭

View File

@@ -6,8 +6,9 @@ ja:
version: 3.8.8
# 版权年份
copyrightYear: 2024
# 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /home/ruoyi/uploadPath
profile: D:/ja/uploadPath
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath D:/ja/uploadPathLinux配置 /home/ruoyi/uploadPath /opt/tooltech/attachment
profile: /tooltech/attachment
#profile: D:/ja/uploadPath
# 获取ip地址开关
addressEnabled: false
# 验证码类型 math 数字计算 char 字符验证
@@ -69,13 +70,14 @@ spring:
# redis 配置
redis:
# 地址
host: 192.168.1.168
host: 127.0.0.1
#host: 120.26.204.194
# 端口默认为6379
port: 6379
# 数据库索引
database: 0
# 密码
password:
password: Password123@redis
# 连接超时时间
timeout: 10s
lettuce:
@@ -136,5 +138,7 @@ application:
bpmc:
tenantId: TLTC_SYS
serviceUrl: http://124.223.108.21:9081/ebpm-process-rest/
uniteWorkUrl: http://localhost/tool-tech/workflowRouter
#serviceUrl: http://192.168.2.6:9081/ebpm-process-rest/
serviceUrl: http://localhost:8081/ebpm-process-rest/
#uniteWorkUrl: http://192.168.2.18:81/tool-tech/workflowRouter
uniteWorkUrl: http://localhost:80/tool-tech/workflowRouter