application-prod.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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. hibernate:
  23. ddl-auto: none
  24. # dingtalk
  25. dingtalk:
  26. agentId: 2664525556
  27. appKey: dingmcbz0lceeusy2kk4
  28. appSecret: nhNVAbjjtb1Y_Q3WM1SkV4Wk3qDxTjfKEVUZd2iMrF5DtlGVcVDi5aIK-8CundeZ
  29. corpId: dingade22a8c4fd34b8535c2f4657eb6378f
  30. aesKey:
  31. token:
  32. operator: "0504284411785810" # 徐欢, OA管理员账号 [0开头需要转一下字符串]