application-demo.yml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #数据源配置
  2. spring:
  3. redis:
  4. host: 121.204.253.223
  5. password: ltbiydhao5
  6. port: 6379
  7. database: 9
  8. timeout: 2s
  9. datasource:
  10. dynamic:
  11. druid:
  12. validation-query: select 1
  13. validation-query-timeout: 2000
  14. initial-size: 5
  15. max-active: 10
  16. min-idle: 5
  17. max-wait: 60000
  18. test-on-borrow: false
  19. test-on-return: false
  20. test-while-idle: true
  21. time-between-eviction-runs-millis: 60000
  22. min-evictable-idle-time-millis: 300000
  23. stat-view-servlet:
  24. enabled: false
  25. web-stat-filter:
  26. enabled: false
  27. filters: slf4j
  28. primary: master #设置默认的数据源或者数据源组,默认值即为master
  29. datasource:
  30. master:
  31. driver-class-name: com.mysql.cj.jdbc.Driver
  32. url: jdbc:mysql://121.204.252.205:3306/digital_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowPublicKeyRetrieval=true
  33. username: root
  34. password: Platomix@mysql123
  35. #blade配置
  36. blade:
  37. license:
  38. enabled: false
  39. #openfeign配置
  40. openfeign:
  41. #是否校验内网IP
  42. checkInnerIp: false
  43. #是否校验时间戳
  44. checkTimeError: false
  45. file:
  46. uploadPath: /chroot/www/uploads/
  47. uploadFace: /chroot/www/uploads/face/
  48. #素材文件上传管理
  49. material:
  50. uploadPath: ${blade.file.uploadPath}
  51. domain: http://file.demo.aclass.baca-ai.com/
  52. oss:
  53. endpoint: http://rgw.platomix.net
  54. ceph:
  55. enabled: true
  56. accessKey: 91D00E6Z282D4JNVJ9WJ
  57. secretKey: FJeUgedzD20IWYwR16Sny5EIwnZCYRsMUF0DT8Aq
  58. #人脸识别
  59. baiduAI:
  60. apiKey: tXiazsSTohFoOGqn9wQgTWvZ
  61. secretKey: PFYmLd8R43sTCODVCmEcq3vNCFLC3fDG
  62. accUrl: https://aip.baidubce.com/oauth/2.0/token
  63. groupId: by_unicom_facegroup_sys
  64. #人脸识别
  65. customAI:
  66. apiKey: 693d1d320ba14c56b97b3fd7
  67. secretKey: ff05155806f0416f97e34cdadbc22758
  68. accUrl: https://opapi.bol.wo.cn/aicgi/oauth/2.0/token
  69. groupId: by_unicom_facegroup_sys
  70. wxPay:
  71. wxAppid: wxf6c238d9e4698994
  72. wxSecret: b567044d42a63a0b160aa0621dc28340
  73. jscodeUrl: https://api.weixin.qq.com/sns/jscode2session
  74. authorizeUrl: https://open.weixin.qq.com/connect/oauth2/authorize
  75. baseUrl: https://api.weixin.qq.com/sns/oauth2/access_token
  76. #wechatOpen:
  77. wechatOpen:
  78. appId: wxefbbcf6905f20de1
  79. secret: 87bf1e08a27fe9d66832f6548f2d0731
  80. autoUrl: https://windata.platomix.net/api/wechat/api/getAuthInformation
  81. wechatApp:
  82. appId: wx3466c53d33b9dbdc
  83. secret: f7d9a3dfb60c1f80660833cbac413534
  84. code2SessionUrl: https://api.q.qq.com/sns/jscode2session?appid=${wechatApp.appId}&secret=${wechatApp.secret}&js_code=%s&grant_type=authorization_code
  85. datasource:
  86. type: mysql