Files
minispringboot/src/main/resources/application_trial.yml
T

53 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://127.0.0.1:3306/mini?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: 271922abf
driver-class-name: com.mysql.cj.jdbc.Driver
# 微信小程序配置
wx:
miniapp:
# 小程序的应用id,小程序开发管理
appid: wx4286144359eeafe5
secret: 5abacb8a93e864dabc13b09006aefdc1
subscribe-template-id: EF5CDtuZwrGbt8iyOoi-sY7J6hZamX0AbWPLoK-qnEw
env: develop # 环境版本: release(正式版), trial(体验版), develop(开发版)
token-type: stable # token类型: standard(标准版), stable(稳定版)
token-expire-buffer: 300 # token提前过期缓冲时间(秒)
corp: # 企业ID
corpid: wwe22ebc930200694e
# 应用Secret
corpsecret: _CgfvRdJRZ713k5lVey2_7Qdrb0JD3HkmR_mesn0144
# 访客预约审批模板ID
approval-template-id: C4ejArCjiUifaVKyMEEwpcssEbLxKjqMtn5SrHW2t
# 审批申请人用户ID(提交审批的企微用户)
creator-userid: ChengLiJuan
# 访客预约应用AgentId(用于发送应用消息)
agentid: 1000084
# 【访客预约】token
token: 3ZnkI0zGML7rL
# 【访客预约】EncodingAESKey
encodingAESKey: TLtEXX7Nfm3Tu5rx1bSAvbtNlMx9ud8qhTQQurXEfQH
# 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
# 企业微信配置