application-blue.yml 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. server:
  2. port: 8080
  3. spring:
  4. application:
  5. name: estateagents
  6. datasource:
  7. username: root
  8. password: LUfZGvh7j1^qA*2c
  9. url: jdbc:mysql://123.57.65.31:3306/estateagents_test?useUnicode=true&serverTimezone=GMT%2B8&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. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  23. call-setters-on-nulls: true
  24. mapper-locations: classpath:mapper/**/*.xml
  25. wx:
  26. miniapp:
  27. appid: wxd6f47a9bb3052175
  28. secret: 28f33b6bbc0f778c11a0bb234a7d6d4e
  29. token:
  30. aesKey:
  31. msgDataFormat: JSON
  32. tpls:
  33. - name: notice
  34. id: 6hWKexNlaVpAOvrcWxHHQ_Duz1gRIkg2-Clsktp2-Os
  35. keywords: 4
  36. - name: newCustomer
  37. id: WiBYjqkE9KvwDv1WSq5vnuv5A6FSaOB8ETFcrVmtCEI
  38. keywords: 4
  39. - name: mainbiz
  40. id: WiBYjqkE9KvwDv1WSq5vniGU4P0gvwlat-5ENYKpfxg
  41. keywords: 6
  42. ali:
  43. accessKeyId: LTAIkc75dpkJw8Lb
  44. accessKeySecret: v4bvXCaix6vSDTCFfwSAdqV53iFEQw
  45. oss:
  46. endpoint: oss-cn-shanghai.aliyuncs.com
  47. bucketName: estateagents
  48. bucketURL: https://estateagents.oss-cn-shanghai.aliyuncs.com
  49. # 手机短信服务
  50. sms:
  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"