application-prod.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # 环境配置
  2. server:
  3. port: 9010
  4. servlet:
  5. context-path: /api/suodisi
  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: 1963716187
  25. appKey: ding8qyulwwmad6j7k6c
  26. appSecret: e_hRHuubw-Xi0OuPJOYdXSElVzOC0IPgMrHQTBuAM9BqW-DFnrcsSyBHi7Me3xSv
  27. corpId: ding321c72787fffc78b35c2f4657eb6378f
  28. aesKey:
  29. token:
  30. operator: "095358016629044412" # 牧语[开头需要转一下字符串], OA管理员账号
  31. # aliwork
  32. aliwork:
  33. appType: APP_YH7W0E5637YUBU5UJ837
  34. systemToken: IC766WA11EW8BMOPBEZZMBA4MPUQ214JDL7FLC9