application-prod-blue.yml 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. server:
  2. port: 8567
  3. spring:
  4. application:
  5. name: estateagents
  6. datasource:
  7. username: root
  8. password: HZjVK5O%zTdP0#8AhGcF@03!eZsGbqdO
  9. url: jdbc:mysql://rm-2zez52se79qgg9649po.mysql.rds.aliyuncs.com:3306/estateagents?useUnicode=true&serverTimezone=CTT&characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true&zeroDateTimeBehavior=convertToNull
  10. driver-class-name: com.mysql.cj.jdbc.Driver
  11. initial-size: 10 # 初始化连接数
  12. max-active: 20 # 最大连接数
  13. min-idle: 8 # 最小空闲数
  14. max-idle: 8 # 最大空闲数
  15. servlet:
  16. multipart:
  17. max-file-size: 10MB
  18. max-request-size: 50MB
  19. ##mybatis-plus
  20. mybatis-plus:
  21. configuration:
  22. call-setters-on-nulls: true
  23. mapper-locations: classpath:mapper/**/*.xml
  24. wx:
  25. miniapp:
  26. appid: wxd6f47a9bb3052175
  27. secret: 28f33b6bbc0f778c11a0bb234a7d6d4e
  28. token:
  29. aesKey:
  30. msgDataFormat: JSON
  31. tpls:
  32. - name: notice
  33. id: 6hWKexNlaVpAOvrcWxHHQ_Duz1gRIkg2-Clsktp2-Os
  34. keywords: 4
  35. - name: newCustomer
  36. id: WiBYjqkE9KvwDv1WSq5vnuv5A6FSaOB8ETFcrVmtCEI
  37. keywords: 4
  38. - name: mainbiz
  39. id: WiBYjqkE9KvwDv1WSq5vniGU4P0gvwlat-5ENYKpfxg
  40. keywords: 6
  41. ali:
  42. accessKeyId: LTAI4FdMQNh1xUoiqqbKJ15J
  43. accessKeySecret: F7vmuXBu8IrhouQYYhFMLRhIRivIzb
  44. oss:
  45. endpoint: oss-cn-shanghai.aliyuncs.com
  46. bucketName: njcj
  47. bucketURL: https://njcj.oss-cn-shanghai.aliyuncs.com
  48. # 手机短信服务
  49. sms:
  50. # 先使用外网地址, 后期使用内网地址
  51. url: http://101.200.84.17:8081/sms
  52. method: POST
  53. contentType: "application/json;charset=UTF-8"
  54. template:
  55. code:
  56. tel:
  57. params:
  58. # 以下为各模板 code
  59. # 验证码
  60. captcha:
  61. # 模板 code
  62. code: "0301"
  63. # 有效时间 秒
  64. expire: 120
  65. # 验证码长度
  66. size: 4
  67. # 短信签名
  68. sign: 橙蕉
  69. visitor:
  70. code: "0501"
  71. #日志配置
  72. logging:
  73. config: classpath:log/logback-spring.xml
  74. debug: true
  75. # 支付回调
  76. pay-notify: https://wx.fangdeal.cn/api/notify/
  77. #退款回调
  78. pay-refund: https://wx.fangdeal.cn/api/refund/
  79. #法大大服务器地址
  80. fadada:
  81. appId: "500261"
  82. appSecret: "go9yihmg7abS2lIBZpZ2yLSW"
  83. version: "2.0"
  84. authServeHost: "https://textapi.fadada.com/api2/"
  85. serveHost: "https://textapi.fadada.com/api2/"
  86. companyNotify: "https://wx.fangdeal.cn/api/fadd/company"
  87. authReturnUrl: "http://admin.fangdeal.cn/#/eContract/seal/detail?id="
  88. authNotifyUrl: "https://wx.fangdeal.cn/api/fadd/autoAuthCompanySeal"
  89. signNotify: "https://wx.fangdeal.cn/api/fadd/sign"
  90. redirectUrl: "https://wx.fangdeal.cn/other/redirect.html"