application-public.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. #公网版
  2. server:
  3. port: 8445
  4. address: 0.0.0.0
  5. ssl:
  6. key-store: classpath:hnhong-duo.com.jks
  7. key-store-password: o48q65ji191
  8. key-store-type: JKS
  9. # ssl:
  10. # key-store: classpath:guya-tech.com.jks
  11. # key-store-password: 120jtiv035z7
  12. # key-store-type: JKS
  13. spring:
  14. datasource:
  15. driver-class-name: com.mysql.cj.jdbc.Driver
  16. url: jdbc:mysql://118.195.171.239:3306/psychological_web_test?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2B8
  17. username: root
  18. password: Mysql@.2020
  19. hikari:
  20. max-lifetime: 30000
  21. data:
  22. redis:
  23. repositories:
  24. enabled: false
  25. redis:
  26. host: 118.195.171.239
  27. port: 6379
  28. password: bjjmtech&jsyx
  29. database: 1
  30. timeout: 20000
  31. jedis:
  32. pool:
  33. max-wait: -1
  34. max-idle: 8
  35. max-active: 8
  36. min-idle: 0
  37. #微信支付
  38. wx.pay:
  39. #HD
  40. # 商户号
  41. mch-id: 1655519363
  42. #商户api证书序列号
  43. mch-serial-no: 692670931729B82A48747B47EFE3142BCA73D978
  44. # 商户私钥文件
  45. private-key-path: apiclient_key_hd.pem
  46. # API秘钥
  47. api-v3-key: MentalHealth20191025HongduoTest1
  48. # 接受结果回调地址
  49. notify-domain: https://hnhong-duo.com/
  50. #GY
  51. # mch-id: 1680226340
  52. # mch-serial-no: 2D81528EEFB70503C10339D9655408E0A583C963
  53. # api-v3-key: MentalHealth20240624HuYaTest0628
  54. # private-key-path: apiclient_key_gy.pem
  55. # notify-domain: https://guya-tech.com
  56. # APPID
  57. app-id: wx43ca40dd2be85dd6
  58. # 微信服务器地址
  59. domain: https://api.mch.weixin.qq.com
  60. is_lan: false
  61. # 小程序秘钥
  62. ASPI_SECRET: b4edc4638f9182a1684dffdf7a1fa4c0
  63. #小程序code2session
  64. ASPI_URL: https://api.weixin.qq.com/sns/jscode2session
  65. #小程序appid
  66. ASPI_APPID: wx2f422a2a1cb24c3c
  67. #公众号appId
  68. oa-app-id : wx43ca40dd2be85dd6
  69. #抖音支付
  70. douyin:
  71. #hongduo
  72. appid: tt444a32f7db77627c01
  73. notifyUrl: https://hnhong-duo.com
  74. secret: d8a880ae1f5cf6e1588f4367e13f95c1d5b4be9b
  75. #guya
  76. # appid: tt368a4037a9bda77b01
  77. # notifyUrl: https://guya-tech.com
  78. # secret: c684ae4d1a903d1b909fc66942b2dd81a974657d
  79. appName: douyin
  80. sessionUrl: https://developer.toutiao.com/api/apps/v2/jscode2session
  81. tokenUrl: https://developer.toutiao.com/api/apps/v2/token
  82. createOrderUrl: https://developer.toutiao.com/api/apps/ecpay/v1/create_order
  83. codeUrl: https://developer.toutiao.com/api/apps/qrcode
  84. queryOrderUrl: https://developer.toutiao.com/api/apps/ecpay/v1/query_order
  85. pushOrderUrl: https://developer.toutiao.com/api/apps/order/v2/push
  86. isDouYin: true
  87. #微信公众号
  88. weixin:
  89. mptoken: D061104CAB980AC122153E6B95D63A6E
  90. mpAppid: wx43ca40dd2be85dd6
  91. mpSecret: 5b7dc80ccd1befec89491f9310f5032e
  92. domain: https://api.weixin.qq.com
  93. accessToken: /cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s
  94. mpJsapiTicket: /cgi-bin/ticket/getticket?access_token=%s&type=jsapi
  95. mpCode2AccessToken: /sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code