添加设置

This commit is contained in:
wanggeng888 2021-01-19 12:25:17 +08:00
parent b293a580cd
commit 64c2bef78e

View File

@ -27,11 +27,11 @@ spring:
max-request-size: 1GB max-request-size: 1GB
datasource: datasource:
druid: druid:
url: jdbc:mysql://127.0.0.1:3306/db_cloud_v2?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC url: jdbc:mysql://49.233.36.36:6688/db_cloud?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC
db-type: mysql db-type: mysql
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: root username: wanggeng
password: root password: WenG>2132997
initial-size: 2 initial-size: 2
min-idle: 2 min-idle: 2
max-active: 10 max-active: 10
@ -95,7 +95,7 @@ swagger:
swagger-base-package: com.cm swagger-base-package: com.cm
file: file:
uploadPath: C:\\Users\\Administrator\\Desktop\\ProjectFiles\\UploadFiles\\ uploadPath: /Users/wanggeng/Desktop/UploadFiles/
imageTypes: png,jpg,jpeg,gif,blob imageTypes: png,jpg,jpeg,gif,blob
videoTypes: mp4,rmvb videoTypes: mp4,rmvb
audioTypes: mp3,wmv audioTypes: mp3,wmv
@ -156,7 +156,7 @@ open-platform:
userinfo-url: https://oapi.dingtalk.com/sns/getuserinfo_bycode userinfo-url: https://oapi.dingtalk.com/sns/getuserinfo_bycode
# 必须有一个APP来辅助钉钉扫码登陆 # 必须有一个APP来辅助钉钉扫码登陆
app: app:
active: true active: false
agent-id: 295981340 agent-id: 295981340
app-key: dingxz2jzohb7dft9iw7 app-key: dingxz2jzohb7dft9iw7
app-secret: MWjSN1PUML-tCjgiSCOUR62Fs_-bdJSaHcorWhLZsd6pKTw6YL-USdsW87QWLxd6 app-secret: MWjSN1PUML-tCjgiSCOUR62Fs_-bdJSaHcorWhLZsd6pKTw6YL-USdsW87QWLxd6
@ -167,7 +167,7 @@ open-platform:
wechat: wechat:
mini-app: mini-app:
# 激活状态 # 激活状态
active: true active: false
authorizeUrl: https://api.weixin.qq.com/sns/jscode2session authorizeUrl: https://api.weixin.qq.com/sns/jscode2session
# 绑定用户连接,指向统一用户,可以内网 # 绑定用户连接,指向统一用户,可以内网
bindUserUrl: http://127.0.0.1:7001/usercenter/wxminiapp/sign/logincheckusername bindUserUrl: http://127.0.0.1:7001/usercenter/wxminiapp/sign/logincheckusername
@ -180,7 +180,7 @@ open-platform:
official-account: official-account:
# 开启跨域 # 开启跨域
apiCrossOrigin: true apiCrossOrigin: true
activate: true activate: false
authorize: authorize:
authorize-url: https://open.weixin.qq.com/connect/oauth2/authorize authorize-url: https://open.weixin.qq.com/connect/oauth2/authorize
access-token-url: https://api.weixin.qq.com/sns/oauth2/access_token access-token-url: https://api.weixin.qq.com/sns/oauth2/access_token
@ -234,8 +234,3 @@ socket:
send-client-info-active: true send-client-info-active: true
# 上报服务器数据时间 # 上报服务器数据时间
send-client-info-second: 30 send-client-info-second: 30
# 智慧网闸配置
net-management:
config-path: D:\\develop\\java_libs\\net_manager_libs\\
so-path: D:\\develop\\java_libs\\net_manager_libs\\