trobs-business-weixin-dev.yml
1.1 KB
## spring security 配置
security:
oauth2:
client:
client-id: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)
client-secret: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)
scope: server
# 数据源配置
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: trobs
password: dfU76$N(kp
url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
resources:
static-locations: classpath:/static/,classpath:/views/
#微信配置(物流信息推送)
weixin:
logistic:
corpid: WW0f3efc2873ad11c3
corpsecret: 1lGrUDZS5Jj82YRCz5VFVU0oFcZY-VzXnBRqwADtO9I
agentid: 1000012
redisKey: logistic_access_token
dinner:
corpid: WW0f3efc2873ad11c3
corpsecret: 1V9RP-ELM6Th756cDY--OzgxwPXIMPa9StiKd0TQLro
agentid: 1000007
redisKey: dinner_access_token
gettoken: https://qyapi.weixin.qq.com/cgi-bin/gettoken
sendmessage: https://qyapi.weixin.qq.com/cgi-bin/message/send