diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index e0dcd27..addb687 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -45,9 +45,9 @@ spring: master: type: ${spring.datasource.type} driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver - url: jdbc:sqlserver://1.13.177.47:1433;DatabaseName=energy-visual;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true + url: jdbc:sqlserver://119.45.202.115:1433;DatabaseName=energy-visual;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true username: sa - password: Hawei@123 + password: haiwei@123 # # 从库数据源 # slave: # lazy: true @@ -82,7 +82,7 @@ spring: # 配置获取连接等待超时的时间 # 单位:毫秒 # 300000ms = 300秒 - connectionTimeout: 300000 + connectionTimeout: 300000 # 校验超时时间,单位:毫秒 # 50000ms = 50秒 validationTimeout: 50000 @@ -97,13 +97,15 @@ spring: spring.data: redis: # 地址 - host: 1.13.177.47 +# host: 10.11.186.154 + host: 119.45.202.115 # 端口,默认为6379 port: 6379 # 数据库索引 - database: 11 + database: 1 # redis 密码必须配置 password: redis@2023 +# password: haiwei@123 # 连接超时时间 timeout: 10s # 是否开启ssl diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 500a921..f03e2d8 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -22,7 +22,7 @@ server: captcha: # 是否启用验证码校验 - enable: true + enable: false # 验证码类型 math 数组计算 char 字符验证 type: math # 数字验证码位数 @@ -239,7 +239,7 @@ management: --- # 默认/推荐使用sse推送 sse: - enabled: true + enabled: false path: /resource/sse --- # websocket @@ -254,12 +254,12 @@ websocket: --- # warm-flow工作流配置 warm-flow: # 是否开启工作流,默认true - enabled: true + enabled: false # 是否开启设计器ui - ui: true + ui: false # 是否显示流程图顶部文字 - top-text-show: true + top-text-show: false # 是否渲染节点悬浮提示,默认true - node-tooltip: true + node-tooltip: false # 默认Authorization,如果有多个token,用逗号分隔 token-name: ${sa-token.token-name},clientid