application-test.yml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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://39.103.207.159:3306/digital_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&allowPublicKeyRetrieval=true
  33. username: digital
  34. password: Dgb6inMBYtsMT#rS
  35. #blade配置
  36. blade:
  37. #openfeign配置
  38. openfeign:
  39. #是否校验内网IP
  40. checkInnerIp: false
  41. #是否校验时间戳
  42. checkTimeError: false
  43. file:
  44. uploadPath: /chroot/www/uploads/
  45. uploadFace: /chroot/www/uploads/face/
  46. #素材文件上传管理
  47. material:
  48. uploadPath: ${blade.file.uploadPath}
  49. #domain: http://file.demo.aclass.baca-ai.com/
  50. domain: https://windata.platomix.net/uploads/
  51. license:
  52. filePath: D://license//license_key
  53. enabled: false
  54. #人脸识别
  55. baiduAI:
  56. apiKey: tXiazsSTohFoOGqn9wQgTWvZ
  57. secretKey: PFYmLd8R43sTCODVCmEcq3vNCFLC3fDG
  58. accUrl: https://aip.baidubce.com/oauth/2.0/token
  59. groupId: by_unicom_facegroup_sys
  60. #人脸识别
  61. customAI:
  62. apiKey: 693d1d320ba14c56b97b3fd7
  63. secretKey: ff05155806f0416f97e34cdadbc22758
  64. accUrl: https://opapi.bol.wo.cn/aicgi/oauth/2.0/token
  65. groupId: by_unicom_facegroup_sys
  66. wxPay:
  67. #wxAppid: wxf6c238d9e4698994
  68. #wxSecret: b567044d42a63a0b160aa0621dc28340
  69. wxAppid: wx147f55f41e122710
  70. wxSecret: 930f907cfe399240c074205efd59385d
  71. jscodeUrl: https://api.weixin.qq.com/sns/jscode2session
  72. authorizeUrl: https://open.weixin.qq.com/connect/oauth2/authorize
  73. baseUrl: https://api.weixin.qq.com/sns/oauth2/access_token
  74. #wechatOpen:
  75. wechatOpen:
  76. appId: wxefbbcf6905f20de1
  77. secret: 87bf1e08a27fe9d66832f6548f2d0731
  78. autoUrl: https://windata.platomix.net/api/wechat/api/getAuthInformation
  79. wechatApp:
  80. appId: wx3466c53d33b9dbdc
  81. secret: f7d9a3dfb60c1f80660833cbac413534
  82. code2SessionUrl: https://api.q.qq.com/sns/jscode2session?appid=${wechatApp.appId}&secret=${wechatApp.secret}&js_code=%s&grant_type=authorization_code
  83. datasource:
  84. type: mysql