| | |
| | | spring: |
| | | application: |
| | | name: water-detective |
| | | name: xxx-yyy |
| | | profiles: |
| | | active: test #默认为开发环境 |
| | | # 通过mvn打包传递参数,指定配置文件环境 |
| | | active: dev |
| | | # 开发环境使用 mvn -P dev(默认) |
| | | # 测试环境使用 mvn -P test |
| | | # 生产环境使用 mvn -P prod |
| | | servlet: |
| | | multipart: |
| | | enabled: true #开启文件上传 |
| | | max-file-size: 10MB #限制文件上传大小为10M |
| | | mail: |
| | | password: ennnntqxzijsdjdh |
| | | username: 2413500195@qq.com |
| | | host: smtp.qq.com |
| | | default-encoding: UTF-8 |
| | | |
| | | jwt: |
| | | token_header: Token #JWT存储的请求头 |
| | | secret: hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token) |
| | | secret: xxx-lunhan-secret #hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token) |
| | | expiration: 15811200 #JWT的超期限时间(60*60*24*183) 单位:秒 |
| | | head: 'Bearer ' #JWT负载中拿到开头 |
| | | |
| | |
| | | secret: 883d188be8593bd14c9b637ca5405c04 |
| | | grant_type: authorization_code |
| | | |
| | | mail: |
| | | smtp: smtp.aliyun.com |
| | | port: 465 |
| | | userName: lin.liu@aliyun.com |
| | | password: |
| | | sendEmail: lin.liu@aliyun.com |
| | | wx: |
| | | appId: wx08c82dac406bee56 |
| | | secret: efb703be421ca95fc5191c07576e8938 |
| | | miniapp: |
| | | #上面拿到的很重要的那个模板ID |
| | | template-id: kuVF5aAUw4LRVszKBm9pMxoDrOmXnvbsZYoeLNfdj10 |
| | | configs: |
| | | #微信小程序的appid 开发者工具拿到 |
| | | appid: wx51878700809c2e5c |
| | | #开发者工具拿到Secret |
| | | secret: 8b475e0b7905ef72dd014956f42cb558 |
| | | #微信小程序消息服务器配置的token |
| | | token: 123456 |
| | | #微信小程序消息服务器配置的EncodingAESKey |
| | | aesKey: |
| | | msgDataFormat: JSON |
| | | |
| | | # mybatis-plus 配置: |
| | | mybatis-plus: |
| | | global-config: |
| | | db-config: |
| | | logic-delete-field: is_delete # 全局逻辑删除字段名 |
| | | logic-delete-value: 1 # 逻辑已删除值 |
| | | logic-not-delete-value: 0 # 逻辑未删除值 |