上传配置文件

1 parent 70fd0d36
...@@ -17,21 +17,23 @@ ruoyi: ...@@ -17,21 +17,23 @@ ruoyi:
imgUrlPrefix: /lwImg imgUrlPrefix: /lwImg
#腾讯云对象存储 #腾讯云对象存储
cos: cos:
secretId: AKIDQRCizIeUGl13vakkDQMH0VkjhPr1rBBv secretId:
secretKey: e3D8oFetseC0f8OX9XeV7UcTDiyyQ8cr secretKey:
#link-wechat-1251309172.cos.ap-nanjing.myqcloud.com #link-wechat-1251309172.cos.ap-nanjing.myqcloud.com
region: ap-nanjing region:
bucketName: link-wechat-1251309172 bucketName:
cosImgUrlPrefix: https://link-wechat-1251309172.cos.ap-nanjing.myqcloud.com/ cosImgUrlPrefix:
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /app/project/pic) # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /app/project/pic)
#profile: /data/jenkins_home/app/project/ profile: /app/pic
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: true addressEnabled: true
# 验证码类型 math 数组计算 char 字符验证 # 验证码类型 math 数组计算 char 字符验证
captchaType: math captchaType: math
# 企业微信用户首次登录系统默认密码 # 企业微信用户首次登录系统默认密码
weUserDefaultPwd: 123456 weUserDefaultPwd: 123456
#匿名访问的URL noSyncWeUser:
- 45DuXiangShangQingXie
#匿名访问的URL
anonUrl: anonUrl:
- /login - /login
- /captchaImage - /captchaImage
...@@ -64,11 +66,14 @@ ruoyi: ...@@ -64,11 +66,14 @@ ruoyi:
- /weixin/auth/** - /weixin/auth/**
- /wecom/material/temporaryMaterialMediaId - /wecom/material/temporaryMaterialMediaId
- /common/findFile - /common/findFile
- /wecom/seas/findEmployeeCustomer
# 开发环境配置 # 开发环境配置
server: server:
# 服务器的HTTP端口,默认为8090 # 服务器的HTTP端口,默认为8090
port: 8090 port: 8070
servlet: servlet:
# 应用的访问路径 # 应用的访问路径
context-path: / context-path: /
...@@ -89,7 +94,7 @@ logging: ...@@ -89,7 +94,7 @@ logging:
H5: H5:
domainPrefix: http://linkwechat.cn/ 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?fissionId={}&fissionTargetId={}&posterId={} fissionUrl: http://h5.linkwechat.cn/index.html
fissionGroupUrl: http://h5.linkwechat.cn/fission.html fissionGroupUrl: http://h5.linkwechat.cn/fission.html
# Spring配置 # Spring配置
spring: spring:
...@@ -103,7 +108,7 @@ spring: ...@@ -103,7 +108,7 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:p6spy:mysql://127.0.0.1:3306/linkwechat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://127.0.0.1:10179/link-wechat-dev2.0?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
username: root username: root
password: root password: root
# 从库数据源 # 从库数据源
...@@ -127,11 +132,6 @@ spring: ...@@ -127,11 +132,6 @@ spring:
minEvictableIdleTimeMillis: 300000 minEvictableIdleTimeMillis: 300000
# 配置一个连接在池中最大生存的时间,单位是毫秒 # 配置一个连接在池中最大生存的时间,单位是毫秒
maxEvictableIdleTimeMillis: 900000 maxEvictableIdleTimeMillis: 900000
# 配置检测连接是否有效
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
webStatFilter: webStatFilter:
enabled: true enabled: true
statViewServlet: statViewServlet:
...@@ -189,12 +189,6 @@ spring: ...@@ -189,12 +189,6 @@ spring:
max-active: 8 max-active: 8
# #连接池最大阻塞等待时间(使用负值表示没有限制) # #连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1ms max-wait: -1ms
cluster:
refresh:
#自适应拓扑刷新
adaptive: true
#定时拓扑刷新
period: 10
# token配置 # token配置
...@@ -210,11 +204,11 @@ mybatis-plus: ...@@ -210,11 +204,11 @@ mybatis-plus:
mapper-locations: classpath*:mapper/**/*Mapper.xml mapper-locations: classpath*:mapper/**/*Mapper.xml
type-aliases-package: com.linkwechat.**.domain type-aliases-package: com.linkwechat.**.domain
type-handlers-package: com.linkwechat.framework.handler.GenericTypeHandler,com.linkwechat.framework.handler.StringArrayJoinTypeHandler type-handlers-package: com.linkwechat.framework.handler.GenericTypeHandler,com.linkwechat.framework.handler.StringArrayJoinTypeHandler
#global-config: #global-config:
#db-config: #db-config:
#logic-delete-field: delFlag #logic-delete-field: delFlag
#logic-delete-value: 1 #logic-delete-value: 1
#logic-not-delete-value: 0 #logic-not-delete-value: 0
mpp: mpp:
entityBasePath: com.linkwechat.**.domain entityBasePath: com.linkwechat.**.domain
...@@ -251,41 +245,34 @@ xss: ...@@ -251,41 +245,34 @@ xss:
urlPatterns: /system/*,/monitor/*,/tool/* urlPatterns: /system/*,/monitor/*,/tool/*
# elasticsearch配置 # elasticsearch配置
#elasticsearch: elasticsearch:
# schema: http schema: http
# address: 47.112.117.15:7200,47.112.117.15:7201,47.112.117.15:7202 address:
# userName: "elastic" userName: "elastic"
# password: "0p-0p-0p-" password: "0p-0p-0p-"
# connectTimeout: 10000 connectTimeout: 10000
# socketTimeout: 10000 socketTimeout: 10000
# connectionRequestTimeout: 10000 connectionRequestTimeout: 10000
# maxConnectNum: 100 maxConnectNum: 100
# maxConnectPerRoute: 100 maxConnectPerRoute: 100
# forest配置 # forest配置
forest: forest:
backend: httpclient backend: httpclient
max-retry-count: 3 # 请求失败后重试次数,默认为0次不重试 retry-count: 1 # 请求失败后重试次数,默认为0次不重试
max-retry-interval: 1000 #重试间隔时间 max-retry-interval: 1000 #重试间隔时间
connect-timeout: 3000 #链接超时时间 connect-timeout: 3000 #链接超时时间
timeout: 3000 # 请求超时时间 timeout: 3000 # 请求超时时间
## 日志总开关,打开/关闭Forest请求/响应日志(默认为 true)
log-enabled: true
## 打开/关闭Forest请求日志(默认为 true)
log-request: true
## 打开/关闭Forest响应状态日志(默认为 true)
log-response-status: true
## 打开/关闭Forest响应内容日志(默认为 false)
log-response-content: true
variables: variables:
weComServerUrl: https://qyapi.weixin.qq.com/ weComServerUrl: https://qyapi.weixin.qq.com/
weComePrefix: cgi-bin weComePrefix: cgi-bin
wxServerUrl: https://api.weixin.qq.com/ wxServerUrl: https://api.weixin.qq.com/
wxPrefix: sns wxPrefix: sns
wecome: wecome:
weNeedRetryErrorCodes: -1,42001,42009,40082,40014 chatKey: finance_new
serverUrl: https://qyapi.weixin.qq.com/
weComePrefix: cgi-bin
noAccessTokenUrl: noAccessTokenUrl:
- /gettoken - /gettoken
- /service/get_provider_token - /service/get_provider_token
...@@ -319,6 +306,8 @@ wecome: ...@@ -319,6 +306,8 @@ wecome:
- /externalcontact/groupchat/statistic - /externalcontact/groupchat/statistic
- /externalcontact/groupchat/statistic_group_by_day - /externalcontact/groupchat/statistic_group_by_day
fileUplodUrl: /media/upload,/media/uploadimg fileUplodUrl: /media/upload,/media/uploadimg
needProviderTokenUrl:
- /service/get_login_info
needChatTokenUrl: needChatTokenUrl:
- /msgaudit/get_permit_user_list - /msgaudit/get_permit_user_list
- /msgaudit/check_single_agree - /msgaudit/check_single_agree
...@@ -344,14 +333,14 @@ wecome: ...@@ -344,14 +333,14 @@ wecome:
- we_tag - we_tag
#企微回调通知配置 #企微回调通知配置
callBack: callBack:
appIdOrCorpId: ww38152475d1bca752 appIdOrCorpId:
token: Fm05d6n0NpuFrvOlgVxIbeSXtjgz token:
encodingAesKey: laevP8xCEG7BUqv5GuYXfg9HaRecxe4MU5F5cmnAI7n encodingAesKey:
# JS SDK 身份校验url # JS SDK 身份校验url
authorizeUrl: https://open.weixin.qq.com/connect/oauth2/authorize #authorizeUrl: https://open.weixin.qq.com/connect/oauth2/authorize
# JS SDK身份校验成功后的redirect url # JS SDK身份校验成功后的redirect url
authorizeRedirectUrl: http://linkwechat.cn/mobile/#/task #authorizeRedirectUrl: http://www.linkwechat.cn/mobile/#/task
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!