application-release.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. server:
  2. port: 18090
  3. spring:
  4. application:
  5. xingxi:
  6. unifiedpay:
  7. enabled: "true"
  8. callbackUrl: "https://ministore.ysyd.cloud/unifiedpay/%s/callback"
  9. wxpay:
  10. enabled: "true"
  11. app-id: "wx12e34630814e5d30"
  12. mch-id: "1662657667"
  13. apiv3-key: "Xiangmai20231225Xiangmai20231225"
  14. cert-serial-no: 6BAA04DCBF80E735518219CC8BCD196BE039F713
  15. private-key-path: "classpath:META-INF/apiclient_key.pem"
  16. private-cert-path: "classpath:META-INF/apiclient_cert.pem"
  17. request:
  18. referers: "https://mpapi.ysyd.cloud,http://127.0.0.1"
  19. cors:
  20. pathPattern: "/api/store/**"
  21. allowedMethods: "GET,POST"
  22. allowedHeaders: "authorization,x-requested-with,x-store-id,content-type"
  23. allowedOrigins: "*,https://mpapi.ysyd.cloud"
  24. datasource:
  25. type: com.alibaba.druid.pool.DruidDataSource
  26. driver-class-name: com.mysql.cj.jdbc.Driver
  27. url: "jdbc:mysql://47.98.144.243:3306/empress?useSSL=false&useTimezone=true&serverTimezone=GMT%2B8"
  28. username: "root"
  29. #password: $TyH69i4EEG^om!!
  30. password: X8IGlcnhdUcDGawphPHww8z7Xu4a800fhPr9Y6FGquTAAjSsrfhz1+VWYjGyO7pr4Ef5rs4QGpLPA4//mq2gNA==
  31. druid:
  32. publickey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJuY2YFPanMmwVxHazZdOZ/y/LZr1+ZmyzAhstDZ0lCn4Vc3DI7Iw10+w4XJVGD3fnLjFMbPL1ip9eclpTAu6G0CAwEAAQ==
  33. connectionProperties: config.decrypt=true;config.decrypt.key=${spring.datasource.druid.publickey}
  34. initialSize: 5
  35. minIdle: 10
  36. maxActive: 20
  37. maxWait: 60000
  38. timeBetweenEvictionRunsMillis: 60000
  39. minEvictableIdleTimeMillis: 300000
  40. maxEvictableIdleTimeMillis: 900000
  41. validationQuery: SELECT 1 FROM DUAL
  42. testWhileIdle: true
  43. testOnBorrow: false
  44. testOnReturn: false
  45. filter:
  46. stat:
  47. enabled: true
  48. log-slow-sql: true
  49. slow-sql-millis: 1000
  50. merge-sql: true
  51. config:
  52. enabled: true
  53. rabbitmq:
  54. host: 127.0.0.1
  55. port: 5672
  56. username: tester01
  57. password: 123456
  58. virtual-host: "test"
  59. publisher-confirm-type: correlated
  60. # redis配置
  61. redis:
  62. database: 0
  63. host: 127.0.0.1
  64. port: 6379
  65. password: empress
  66. timeout: 6000ms # 连接超时时长(毫秒)
  67. lettuce:
  68. pool:
  69. max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
  70. max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
  71. max-idle: 10 # 连接池中的最大空闲连接
  72. min-idle: 5 # 连接池中的最小空闲连接
  73. mybatis:
  74. configuration:
  75. log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
  76. # 日志配置
  77. logging:
  78. config: classpath:logback-release.xml
  79. level:
  80. cn.com.xingxi: debug
  81. org.springframework: warn
  82. org.apache.http: info
  83. wx:
  84. miniapp:
  85. appid: "wx12e34630814e5d30"
  86. secret: "fc06d584d8544a00f0ff9df65a30af02"
  87. qrCode:
  88. scene: "%s,%s"
  89. page: "pages/logs/logs"
  90. width: 420
  91. checkPath: true
  92. envVersion: release
  93. idworkcfg:
  94. workerId: "1"
  95. dataCenterId: "9"