application-dev.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. spring:
  2. cloud:
  3. nacos:
  4. discovery:
  5. server-addr: 47.108.212.170:6848
  6. datasource:
  7. dynamic:
  8. primary: com.chelvc.cloud.user.server
  9. datasource:
  10. "[com.chelvc.cloud.user.server]":
  11. url: jdbc:mysql://47.108.212.170:6180/user?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true&useAffectedRows=true
  12. username: user
  13. password: Chelvc@user!2023#
  14. hikari:
  15. driver-class-name: com.mysql.cj.jdbc.Driver
  16. pool-name: chelvc
  17. max-pool-size: 10
  18. max-lifetime: 120000
  19. "[com.chelvc.cloud.vehicle.server]":
  20. url: jdbc:mysql://47.108.212.170:6180/vehicle?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true&useAffectedRows=true
  21. username: vehicle
  22. password: Chelvc@vehicle!2023#
  23. hikari:
  24. driver-class-name: com.mysql.cj.jdbc.Driver
  25. pool-name: chelvc
  26. max-pool-size: 10
  27. max-lifetime: 120000
  28. redis:
  29. host: 47.108.212.170
  30. port: 7031
  31. password: Chelvc@2023
  32. nacos:
  33. config:
  34. server-addr: 47.108.212.170:6848
  35. security:
  36. ignores:
  37. - /user/**
  38. - /vehicle/**
  39. - /maintain/merchant/apply/notify #商户入驻回调
  40. - /maintain/merchant/reSign/notify #电子签回调
  41. - /maintain/asset/withdraw/notify #提现回调
  42. - /maintain/asset/transfer/notify #转账回调
  43. - /maintain/order/notify #支付回调
  44. - /maintain/order/refund/notify #退款回调
  45. oauth:
  46. scoped: true
  47. secret: oauth.token.secret@chelvc!@#2023
  48. clients:
  49. - appid: chelvc_client
  50. secret: chelvc@secret#2023!
  51. scopes: ADMIN,CUSTOMER,MERCHANT
  52. grants: sms,wechat,password,refresh_token
  53. access-token-timeout: 604800
  54. refresh-token-timeout: 7776000
  55. upload:
  56. bucket: /home/chelvc/static
  57. domain: https://test.chelvc.com/file
  58. channel: LOCAL
  59. location:
  60. clients:
  61. - key: VPKBZ-CR3CG-R23QE-QK2IY-LNXKZ-GCB34
  62. channel: TENCENT
  63. sms:
  64. clients:
  65. - appid: LTAI5tAnS3tQqjpHdT1KqeUw
  66. secret: xs6OZj6pyJLTcNBDjp6ikftVyKRXsk
  67. template: SMS_274640619
  68. signature: 车旅程
  69. channel: ALIYUN
  70. wechat:
  71. applets:
  72. - appid: wx593877b3c990b15c
  73. secret: 19ab92afb193b0f3c25e57ec32a3dd37
  74. payments:
  75. - name: applet
  76. mode: JSAPI
  77. appid: wx593877b3c990b15c
  78. mchid: 1692584316
  79. mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
  80. callback: https://test.chelvc.com/api/order/applet/callback