Commit 8a404209 by 水库浪子 Committed by Gitee

update linkwe-admin/src/main/resources/application.yml.

修改配置文件
1 parent 93d0e356
...@@ -9,27 +9,20 @@ ruoyi: ...@@ -9,27 +9,20 @@ ruoyi:
startTenant: false startTenant: false
# 实例演示开关 # 实例演示开关
demoEnabled: true demoEnabled: true
# 是否开启文件云上传(使用的是腾讯云,如果开启了,则需要配置腾讯云存储相关信息;如果关闭了则文件存储再本地,需要配置本地路径)
file: file:
startCosUpload: true startCosUpload: true
#图片在系统中的访问前缀,图片无论是上传云端还是服务器本地,都通过本地读取资源,然后返回前端 #腾讯云对象存储
imgUrlPrefix:
#腾讯云对象存储
cos: cos:
#id
secretId: secretId:
#密钥
secretKey: secretKey:
#地区 #link-wechat-1251309172.cos.ap-nanjing.myqcloud.com
region: region:
#区块空间
bucketName: bucketName:
#访问前缀
cosImgUrlPrefix: cosImgUrlPrefix:
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /app/project/pic) # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /app/project/pic)
#profile: /data/jenkins_home/app/project/ #profile: /data/jenkins_home/app/project/
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: true
# 验证码类型 math 数组计算 char 字符验证 # 验证码类型 math 数组计算 char 字符验证
captchaType: math captchaType: math
# 企业微信用户首次登录系统默认密码 # 企业微信用户首次登录系统默认密码
...@@ -66,7 +59,7 @@ ruoyi: ...@@ -66,7 +59,7 @@ ruoyi:
- /wecom/community/h5/** - /wecom/community/h5/**
- /weixin/auth/** - /weixin/auth/**
- /wecom/material/temporaryMaterialMediaId - /wecom/material/temporaryMaterialMediaId
- /common/findImage - /common/findFile
# 开发环境配置 # 开发环境配置
server: server:
...@@ -94,6 +87,7 @@ path: ...@@ -94,6 +87,7 @@ path:
#H5地址路径 #H5地址路径
H5: H5:
domainPrefix: http://linkwechat.cn/
url: http://h5.linkwechat.cn/index.html url: http://h5.linkwechat.cn/index.html
fissionUrl: http://h5.linkwechat.cn/index.html fissionUrl: http://h5.linkwechat.cn/index.html
fissionGroupUrl: http://h5.linkwechat.cn/fission.html fissionGroupUrl: http://h5.linkwechat.cn/fission.html
...@@ -109,7 +103,7 @@ spring: ...@@ -109,7 +103,7 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://127.0.0.1:10179/link-wechat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://127.0.0.1:10179/link-wechat-prod?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: root password: root
# 从库数据源 # 从库数据源
...@@ -218,6 +212,14 @@ mybatis-plus: ...@@ -218,6 +212,14 @@ mybatis-plus:
logic-delete-value: 1 logic-delete-value: 1
logic-not-delete-value: 0 logic-not-delete-value: 0
## MyBatis配置
#mybatis:
# # 搜索指定包别名
# typeAliasesPackage: com.linkwechat.**.domain
# # 配置mapper的扫描,找到所有的mapper.xml映射文件
# mapperLocations: classpath*:mapper/**/*Mapper.xml
# # 加载全局的配置文件
# configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件 # PageHelper分页插件
pagehelper: pagehelper:
...@@ -261,7 +263,11 @@ forest: ...@@ -261,7 +263,11 @@ forest:
max-retry-interval: 1000 #重试间隔时间 max-retry-interval: 1000 #重试间隔时间
connect-timeout: 3000 #链接超时时间 connect-timeout: 3000 #链接超时时间
timeout: 3000 # 请求超时时间 timeout: 3000 # 请求超时时间
variables:
weComServerUrl: https://qyapi.weixin.qq.com/
weComePrefix: cgi-bin
wxServerUrl: https://api.weixin.qq.com/
wxPrefix: sns
wecome: wecome:
chatKey: finance_new chatKey: finance_new
...@@ -319,17 +325,22 @@ wecome: ...@@ -319,17 +325,22 @@ wecome:
- we_department - we_department
- we_user - we_user
- we_customer - we_customer
- we_flower_customer_rel
- we_flower_customer_tag_rel
- we_group
- we_group_member
- we_tag_group - we_tag_group
- we_tag
#企微回调通知配置 #企微回调通知配置
callBack: callBack:
appIdOrCorpId: appIdOrCorpId:
token: token:
encodingAesKey: encodingAesKey:
# JS SDK 身份校验url # JS SDK 身份校验url
authorizeUrl: authorizeUrl: https://open.weixin.qq.com/connect/oauth2/authorize
# JS SDK身份校验成功后的redirect url # JS SDK身份校验成功后的redirect url
authorizeRedirectUrl: authorizeRedirectUrl:
weixin: weixin:
appid: wxa57479bcd3f15461
secret: f23f4becdcac9819f292a3754fd8f84e
\ No newline at end of file \ No newline at end of file
appid:
secret:
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!