| | |
| | | spring: |
| | | # 数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://192.168.0.211:3306/diandongche?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: Doumee@168 |
| | | url: jdbc:mysql://57b57595ddc66.sh.cdb.myqcloud.com:4464/diandongche?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai |
| | | username: test |
| | | password: doumee@168 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | redis: |
| | | # database: 0 |
| | | host: 127.0.0.1 |
| | | port: 6379 |
| | | password: |
| | | password: ms!123! |
| | | timeout: 5000 # 连接池中的最小空闲连接 |
| | | jackson: |
| | | time-zone: GMT+8 |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | |
| | | mail: |
| | | host: smtp.aliyun.com |
| | | port: 465 |
| | | username: your_email@aliyun.com |
| | | password: your_password |
| | | host: smtp.exmail.qq.com |
| | | username: jp@doumee.com |
| | | password: 2Jz9HFW2U7vRnCRu |
| | | default-encoding: UTF-8 |
| | | properties: |
| | | mail: |
| | | smtp: |
| | | auth: true |
| | | starttls: |
| | | enable: true |
| | | required: true |
| | | ssl: |
| | | enable: true |
| | | debug_model: false |
| | | starttls: |
| | | enable: true |
| | | required: true |
| | | |
| | | debug_model: true |
| | | |
| | | # Swagger配置 |
| | | swagger: |
| | | host: 127.0.0.1 |
| | | host: |
| | | title: ${project.name}接口文档 |
| | | description: ${project.name}接口文档 |
| | | # 启用Swagger,生产环境建议关闭 |
| | | enabled: true |
| | | context-path: |
| | | # 启用swagger加密 |
| | | enable-encrypt: true |
| | | # 禁用swagger时的重定向地址 |
| | | redirect-uri: / |
| | | |
| | | des_pwd: 123456SDFKDJF |
| | | |
| | | des_pwd: 123456SDFKDJF |
| | | knife4j: |
| | | enable: true |
| | | basic: |
| | | enable: true |
| | | username: admin |
| | | password: doumee@168 |
| | | upload: |
| | | type: blob |
| | | password: 111111 |
| | | |
| | | aes: |
| | | encrypt: |
| | | open: true # 是否开启加密 true or false |
| | | showLog: true # 是否打印加解密log true or false |
| | | publicKey: mN4Yn8Or8r7SH1w3 # AES密钥 |
| | | privateKey: # RSA私钥 |
| | | time: 600000 |
| | | |
| | | upload: |
| | | type: ftp |
| | | |
| | | project: |
| | | # 环境,生产环境production,开发环境development |
| | | env: production |
| | | # 模式,testing测试模式 |
| | | mode: production |
| | | mode: production |
| | | |
| | | dingtalk: |
| | | clientId: dingulzemj5bynjciapg |
| | | clientSecret: tLnWtSmmTuqjX9a1MvJzYxI1iXVJxEwtyZZYYFQ5cLg57pzzCZ4J8VsVwvmRNtkK |
| | | |
| | | |
| | | |