56 lines
1.8 KiB
YAML
56 lines
1.8 KiB
YAML
server:
|
|
port: 8091
|
|
ssl:
|
|
enabled: true
|
|
key-store: classpath:bmser.com.pfx
|
|
key-store-type: PKCS12
|
|
key-store-password: zl7cs0dp
|
|
protocol: TLS
|
|
enabled-protocols: TLSv1.2,TLSv1.3
|
|
|
|
spring:
|
|
application:
|
|
name: mini_program
|
|
datasource:
|
|
url: jdbc:mysql://10.30.1.208:3306/mini?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
username: chenglijuan
|
|
password: 271922abf
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
# 微信小程序配置
|
|
wx:
|
|
miniapp:
|
|
appid: wx50fe0c5c28dd3060
|
|
secret: e82fa407fad13a9df35503f2d176e5a4
|
|
subscribe-template-id: Csf_dJU7DhvVFt_03sphPPBCGlnmcWQSPhgqfxHZ5RQ
|
|
env: develop # 环境版本: release(正式版), trial(体验版), develop(开发版)
|
|
token-type: stable # token类型: standard(标准版), stable(稳定版)
|
|
token-expire-buffer: 300 # token提前过期缓冲时间(秒)
|
|
corp: # 企业ID
|
|
corpid: ww257614cff8a1b61b
|
|
# 应用Secret
|
|
corpsecret: y05BBs2pxgwT0n0__cbYd5GRthlrzfDyrKQPOLtiWkg
|
|
# 访客预约审批模板ID
|
|
approval-template-id: C4ej9uEntM19iNJbrtJsUqZakPFfjBNTPNLSKPno2
|
|
# 审批回调URL(可选)
|
|
callback-url: http://your-domain.com/api/wx-corp/approval-callback
|
|
# 审批申请人用户ID(提交审批的企微用户)
|
|
creator-userid: ChengLiJuan
|
|
# 访客预约应用AgentId(用于发送应用消息)
|
|
agentid: 1000006
|
|
|
|
|
|
# 【访客预约】token
|
|
token: V4fj9vnzfrCaEza4MWB4IOUhgJ0p2c
|
|
# 【访客预约】EncodingAESKey
|
|
encodingAESKey: PTQGH2kHgA8QFPswNrVBknWVKwljNt7NjzRARSd6DOU
|
|
|
|
# MyBatis配置
|
|
mybatis:
|
|
mapper-locations: classpath:mapper/*.xml
|
|
type-aliases-package: com.example.mini_program.entity
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
# 企业微信配置 |