更新配置文件:dev为线上发版,local为本地测试,更新相关的url地址,匹配内网,外网。
This commit is contained in:
@@ -1,3 +1,18 @@
|
|||||||
|
# 项目相关配置
|
||||||
|
ruoyi:
|
||||||
|
# 名称
|
||||||
|
name: RuoYi
|
||||||
|
# 版本
|
||||||
|
version: 3.8.8
|
||||||
|
# 版权年份
|
||||||
|
copyrightYear: 2024
|
||||||
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
||||||
|
profile: /home/ruoyi/uploadPath
|
||||||
|
# 获取ip地址开关
|
||||||
|
addressEnabled: false
|
||||||
|
# 验证码类型 math 数字计算 char 字符验证
|
||||||
|
captchaType: math
|
||||||
|
|
||||||
# 数据源配置
|
# 数据源配置
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
@@ -113,3 +128,14 @@ chat:
|
|||||||
audioText:
|
audioText:
|
||||||
asr: http://127.0.0.1:8000/asr/file
|
asr: http://127.0.0.1:8000/asr/file
|
||||||
tts: http://127.0.0.1:19527/synthesize
|
tts: http://127.0.0.1:19527/synthesize
|
||||||
|
|
||||||
|
#浪潮单点登录相关
|
||||||
|
lc_web_auth:
|
||||||
|
appId: cloud-out-2fb6330e9c0843e1a1424efda5d604c0
|
||||||
|
appSecret: x14lueHbtLQL7Pz2G7gE4wcGCV6TDblO5xfeu9V2wGk=
|
||||||
|
getTokenUrl: http://100.128.128.6:9081/prod-psout-api/auth/token
|
||||||
|
getUserInfoUrl: http://100.128.128.6:9081/prod-psout-api/system/app/authorize/user/info
|
||||||
|
|
||||||
|
lc_cms_auth:
|
||||||
|
appId: cloud-9793ee8a8c3d47b8871007ffc4128502
|
||||||
|
appSecret: Yi+NACK70UPg8rFvsnnfBUq1wcLD4nm6ilC4II/4C4k=
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
# 项目相关配置
|
||||||
|
ruoyi:
|
||||||
|
# 名称
|
||||||
|
name: RuoYi
|
||||||
|
# 版本
|
||||||
|
version: 3.8.8
|
||||||
|
# 版权年份
|
||||||
|
copyrightYear: 2024
|
||||||
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
||||||
|
profile: /Users/chenyanchang/logs/ruoyi/uploadPath
|
||||||
|
# 获取ip地址开关
|
||||||
|
addressEnabled: false
|
||||||
|
# 验证码类型 math 数字计算 char 字符验证
|
||||||
|
captchaType: math
|
||||||
|
|
||||||
# 数据源配置
|
# 数据源配置
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
@@ -63,13 +78,13 @@ spring:
|
|||||||
multi-statement-allow: true
|
multi-statement-allow: true
|
||||||
redis:
|
redis:
|
||||||
# 地址
|
# 地址
|
||||||
host: 127.0.0.1
|
host: 124.243.245.42
|
||||||
# 端口,默认为6379
|
# 端口,默认为6379
|
||||||
port: 6379
|
port: 5379
|
||||||
# 数据库索引
|
# 数据库索引
|
||||||
database: 0
|
database: 0
|
||||||
# 密码
|
# 密码
|
||||||
password: SHZ2026@@.com
|
password: ZKR2024@@.com
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
@@ -84,16 +99,16 @@ spring:
|
|||||||
max-wait: -1ms
|
max-wait: -1ms
|
||||||
|
|
||||||
# easy-es
|
# easy-es
|
||||||
easy-es:
|
#easy-es:
|
||||||
enable: true
|
# enable: true
|
||||||
banner: false
|
# banner: false
|
||||||
address: 127.0.0.1:9200
|
# address: 39.98.44.136:9200
|
||||||
global-config:
|
# global-config:
|
||||||
process-index-mode: manual
|
# process-index-mode: manual
|
||||||
db-config:
|
# db-config:
|
||||||
refresh-policy: immediate
|
# refresh-policy: immediate
|
||||||
username: elastic
|
# username: elastic
|
||||||
password: SHZ2026@@.com
|
# password: SHZ2026@@.com
|
||||||
|
|
||||||
#ai
|
#ai
|
||||||
chat:
|
chat:
|
||||||
@@ -114,3 +129,14 @@ chat:
|
|||||||
audioText:
|
audioText:
|
||||||
asr: http://127.0.0.1:8000/asr/file
|
asr: http://127.0.0.1:8000/asr/file
|
||||||
tts: http://127.0.0.1:19527/synthesize
|
tts: http://127.0.0.1:19527/synthesize
|
||||||
|
|
||||||
|
#浪潮单点登录相关
|
||||||
|
lc_web_auth:
|
||||||
|
appId: cloud-out-2fb6330e9c0843e1a1424efda5d604c0
|
||||||
|
appSecret: x14lueHbtLQL7Pz2G7gE4wcGCV6TDblO5xfeu9V2wGk=
|
||||||
|
getTokenUrl: http://218.31.252.15:9081/prod-psout-api/auth/token
|
||||||
|
getUserInfoUrl: http://218.31.252.15:9081/prod-psout-api/system/app/authorize/user/info
|
||||||
|
|
||||||
|
lc_cms_auth:
|
||||||
|
appId: cloud-9793ee8a8c3d47b8871007ffc4128502
|
||||||
|
appSecret: Yi+NACK70UPg8rFvsnnfBUq1wcLD4nm6ilC4II/4C4k=
|
||||||
|
|||||||
@@ -1,19 +1,3 @@
|
|||||||
# 项目相关配置
|
|
||||||
ruoyi:
|
|
||||||
# 名称
|
|
||||||
name: RuoYi
|
|
||||||
# 版本
|
|
||||||
version: 3.8.8
|
|
||||||
# 版权年份
|
|
||||||
copyrightYear: 2024
|
|
||||||
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
|
||||||
profile: /home/ruoyi/uploadPath
|
|
||||||
# profile: /Users/chenyanchang/logs/ruoyi/uploadPath
|
|
||||||
# 获取ip地址开关
|
|
||||||
addressEnabled: false
|
|
||||||
# 验证码类型 math 数字计算 char 字符验证
|
|
||||||
captchaType: math
|
|
||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
server:
|
server:
|
||||||
# 服务器的HTTP端口,默认为8080
|
# 服务器的HTTP端口,默认为8080
|
||||||
@@ -76,15 +60,6 @@ token:
|
|||||||
# 令牌有效期(默认30分钟)
|
# 令牌有效期(默认30分钟)
|
||||||
expireTime: 30
|
expireTime: 30
|
||||||
|
|
||||||
## MyBatis配置
|
|
||||||
#mybatis:
|
|
||||||
# # 搜索指定包别名
|
|
||||||
# typeAliasesPackage: com.ruoyi.**.domain
|
|
||||||
# # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
||||||
# mapperLocations: classpath*:mapper/**/*Mapper.xml
|
|
||||||
# # 加载全局的配置文件
|
|
||||||
# configLocation: classpath:mybatis/mybatis-config.xml
|
|
||||||
|
|
||||||
# PageHelper分页插件
|
# PageHelper分页插件
|
||||||
pagehelper:
|
pagehelper:
|
||||||
helperDialect: oracle
|
helperDialect: oracle
|
||||||
@@ -193,15 +168,3 @@ oauth:
|
|||||||
connect-timeout: 10
|
connect-timeout: 10
|
||||||
read-timeout: 30
|
read-timeout: 30
|
||||||
write-timeout: 30
|
write-timeout: 30
|
||||||
#浪潮单点登录相关
|
|
||||||
lc_web_auth:
|
|
||||||
appId: cloud-out-2fb6330e9c0843e1a1424efda5d604c0
|
|
||||||
appSecret: x14lueHbtLQL7Pz2G7gE4wcGCV6TDblO5xfeu9V2wGk=
|
|
||||||
getTokenUrl: http://100.128.128.6:9081/prod-psout-api/auth/token
|
|
||||||
getUserInfoUrl: http://100.128.128.6:9081/prod-psout-api/system/app/authorize/user/info
|
|
||||||
|
|
||||||
lc_cms_auth:
|
|
||||||
appId: cloud-9793ee8a8c3d47b8871007ffc4128502
|
|
||||||
appSecret: Yi+NACK70UPg8rFvsnnfBUq1wcLD4nm6ilC4II/4C4k=
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user