application-prod.yml 997 B

12345678910111213141516171819202122232425262728293031323334
  1. # 环境配置
  2. server:
  3. port: 9012
  4. servlet:
  5. context-path: /api/fengkaili
  6. # condition
  7. spel:
  8. scheduling: true # 定时任务是否执行
  9. multiSource: false # 是否多数据源配置
  10. spring:
  11. # database
  12. datasource:
  13. hikari:
  14. connection-init-sql: SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci # SqlServer, Oracle 无需设置类型
  15. driver-class-name: com.mysql.cj.jdbc.Driver
  16. username: root
  17. password: cp-root@2022++
  18. url: jdbc:mysql://47.97.181.40:3306/mjava?serverTimezone=Asia/Shanghai&useUnicode=yes&characterEncoding=UTF-8&useSSL=true
  19. jpa:
  20. database: MYSQL
  21. database-platform: org.hibernate.dialect.MySQL57Dialect
  22. # dingtalk
  23. dingtalk:
  24. agentId: 2664525556
  25. appKey: dingmcbz0lceeusy2kk4
  26. appSecret: nhNVAbjjtb1Y_Q3WM1SkV4Wk3qDxTjfKEVUZd2iMrF5DtlGVcVDi5aIK-8CundeZ
  27. corpId: dingade22a8c4fd34b8535c2f4657eb6378f
  28. aesKey:
  29. token:
  30. operator: "0504284411785810" # 徐欢, OA管理员账号 [0开头需要转一下字符串]