Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 475dcf28
authored
Apr 25, 2021
by
1539136324@qq.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新配置文件
1 parent
15047a48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
25 deletions
linkwe-admin/src/main/resources/application-druid.yml
linkwe-admin/src/main/resources/application.yml
linkwe-admin/src/main/resources/application-druid.yml
View file @
475dcf2
...
@@ -6,9 +6,9 @@ spring:
...
@@ -6,9 +6,9 @@ spring:
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://
${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:link-wechat-prod}
?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://
127.0.0.1:3306/link-wechat-prod
?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
${DB_USER:root}
username
:
root
password
:
${DB_PASS:root}
password
:
root
# 从库数据源
# 从库数据源
slave
:
slave
:
# 从数据源开关/默认关闭
# 从数据源开关/默认关闭
...
...
linkwe-admin/src/main/resources/application.yml
View file @
475dcf2
...
@@ -73,9 +73,9 @@ spring:
...
@@ -73,9 +73,9 @@ spring:
# redis 配置
# redis 配置
redis
:
redis
:
# 地址
# 地址
host
:
${REDIS_HOST:localhost}
host
:
127.0.0.1
# 端口,默认为6379
# 端口,默认为6379
port
:
${REDIS_PORT:6379}
port
:
6379
# 密码
# 密码
password
:
password
:
# 连接超时时间
# 连接超时时间
...
@@ -114,14 +114,6 @@ mybatis-plus:
...
@@ -114,14 +114,6 @@ 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
:
...
@@ -149,7 +141,7 @@ xss:
...
@@ -149,7 +141,7 @@ xss:
# elasticsearch配置
# elasticsearch配置
elasticsearch
:
elasticsearch
:
schema
:
http
schema
:
http
address
:
${ES_ADDRESS:localhost}
address
:
127.0.0.1
userName
:
"
"
userName
:
"
"
password
:
"
"
password
:
"
"
connectTimeout
:
10000
connectTimeout
:
10000
...
@@ -218,18 +210,27 @@ wecome:
...
@@ -218,18 +210,27 @@ wecome:
-
/message/send
-
/message/send
#企微回调通知配置
#企微回调通知配置
callBack
:
callBack
:
appIdOrCorpId
:
ww24262ce93851488f
appIdOrCorpId
:
token
:
jtQ1aGHgSmH2UHNBIndUtUe6B6EwfR
token
:
encodingAesKey
:
Vga4HWv7nFbRDYK8iAaQbxmkuecpo2BAfmXAyWwcXMO
encodingAesKey
:
# JS SDK 身份校验url
# JS SDK 身份校验url
authorizeUrl
:
https://open.weixin.qq.com/connect/oauth2/authorize
authorizeUrl
:
# JS SDK身份校验成功后的redirect url
# JS SDK身份校验成功后的redirect url
authorizeRedirectUrl
:
http://www.linkwechat.cn/mobile/#/task
authorizeRedirectUrl
:
#腾讯云对象存储
#腾讯云对象存储
cos
:
cos
:
secretId
:
AKIDQRCizIeUGl13vakkDQMH0VkjhPr1rBBv
secretKey
:
e3D8oFetseC0f8OX9XeV7UcTDiyyQ8cr
#link-wechat-1251309172.cos.ap-nanjing.myqcloud.com
region
:
ap-nanjing
bucketName
:
link-wechat-1251309172
imgUrlPrefix
:
https://link-wechat-1251309172.cos.ap-nanjing.myqcloud.com/
\ No newline at end of file
\ No newline at end of file
#id
secretId
:
#密钥
secretKey
:
#地区
region
:
#区块空间
bucketName
:
#访问前缀
imgUrlPrefix
:
#微信公众号配置
weixin
:
appid
:
secret
:
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment