| | |
| | | spring: |
| | | application: |
| | | name: xxx-yyy |
| | | name: water-ration |
| | | profiles: |
| | | # 通过mvn打包传递参数,指定配置文件环境 |
| | | active: @package.environment@ |
| | |
| | | host: smtp.qq.com |
| | | default-encoding: UTF-8 |
| | | redis: |
| | | keyPrefix: xxx_yyy_ # redis缓存key统一加上前缀 |
| | | keyPrefix: water_ration_ # redis缓存key统一加上前缀 |
| | | |
| | | jwt: |
| | | token_header: Token #JWT存储的请求头 |
| | | secret: xxx-yyy-secret #hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token) |
| | | secret: water-ration-secret #hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token) |
| | | expiration: 15811200 #JWT的超期限时间(60*60*24*183) 单位:秒 |
| | | head: 'Bearer ' #JWT负载中拿到开头 |
| | | |
| | | wechat: |
| | | appid: wx1fc63488ed4b6f04 |
| | | secret: 883d188be8593bd14c9b637ca5405c04 |
| | | grant_type: authorization_code |
| | | |
| | | wx: |
| | | appId: wx08c82dac406bee56 |
| | | secret: efb703be421ca95fc5191c07576e8938 |
| | | miniapp: |
| | | #上面拿到的很重要的那个模板ID |
| | | template-id: kuVF5aAUw4LRVszKBm9pMxoDrOmXnvbsZYoeLNfdj10 |
| | | configs: |
| | | #微信小程序的appid 开发者工具拿到 |
| | | appid: wx51878700809c2e5c |
| | | #开发者工具拿到Secret |
| | | secret: 8b475e0b7905ef72dd014956f42cb558 |
| | | #微信小程序消息服务器配置的token |
| | | token: 123456 |
| | | #微信小程序消息服务器配置的EncodingAESKey |
| | | aesKey: |
| | | msgDataFormat: JSON |
| | | appId: wxd361a7f92bb0c73a |
| | | secret: abc1f8ff26100b480f5feb11ede66a1d |
| | | |
| | | # mybatis-plus 配置: |
| | | mybatis-plus: |