application-dev.yml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. # 数据源配置
  2. spring:
  3. datasource:
  4. type: com.alibaba.druid.pool.DruidDataSource
  5. # driverClassName: com.mysql.cj.jdbc.Driver
  6. druid:
  7. # 主库数据源
  8. master:
  9. # url: jdbc:mysql://192.168.8.213:3306/jsjp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
  10. url: jdbc:mysql://1.15.26.233:3307/jsjp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
  11. username: root
  12. password: miaxis110
  13. # 从库数据源
  14. newgzpt:
  15. # 从数据源开关/默认关闭
  16. enabled: true
  17. url: jdbc:oracle:thin:@47.99.70.145:1521:orcl
  18. username: newgzpt
  19. password: newgzpt2016
  20. # 初始连接数
  21. initialSize: 5
  22. # 最小连接池数量
  23. minIdle: 10
  24. # 最大连接池数量
  25. maxActive: 20
  26. # 配置获取连接等待超时的时间
  27. maxWait: 60000
  28. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  29. timeBetweenEvictionRunsMillis: 60000
  30. # 配置一个连接在池中最小生存的时间,单位是毫秒
  31. minEvictableIdleTimeMillis: 300000
  32. # 配置一个连接在池中最大生存的时间,单位是毫秒
  33. maxEvictableIdleTimeMillis: 900000
  34. # 配置检测连接是否有效
  35. validationQuery: SELECT 1 FROM DUAL
  36. testWhileIdle: true
  37. testOnBorrow: false
  38. testOnReturn: false
  39. webStatFilter:
  40. enabled: true
  41. statViewServlet:
  42. enabled: true
  43. # 设置白名单,不填则允许所有访问
  44. allow:
  45. url-pattern: /druid/*
  46. # 控制台管理用户名和密码
  47. login-username:
  48. login-password:
  49. filter:
  50. stat:
  51. enabled: true
  52. # 慢SQL记录
  53. log-slow-sql: true
  54. slow-sql-millis: 1000
  55. merge-sql: true
  56. wall:
  57. config:
  58. multi-statement-allow: true
  59. # redis 配置
  60. redis:
  61. # 地址
  62. host: sh-crs-lfzs3n8w.sql.tencentcdb.com
  63. # 端口,默认为6379
  64. port: 29466
  65. # 密码
  66. password: miaxis110
  67. # 连接超时时间
  68. timeout: 10s
  69. lettuce:
  70. pool:
  71. # 连接池中的最小空闲连接
  72. min-idle: 0
  73. # 连接池中的最大空闲连接
  74. max-idle: 8
  75. # 连接池的最大数据库连接数
  76. max-active: 8
  77. # #连接池最大阻塞等待时间(使用负值表示没有限制)
  78. max-wait: -1ms
  79. # 指定库
  80. database: 4
  81. # 短信验证
  82. sms_user_name: "jsjp"
  83. sms_password: "t7nwh7"
  84. # 调用外部接口
  85. feign:
  86. jgpt_ipport: http://localhost:8080/
  87. qgpt_ipport: http://114.55.58.112:8085/
  88. # 微信小程序
  89. app:
  90. appid: wx606fa102dbc4b8ab
  91. secret: 93832292771493dc2aae6797edbc387c
  92. # 极速云助手微信公众号
  93. gzh:
  94. appid: "wxff332e2f6da86bf9"
  95. secret: "65f267dcb2e387f7caf651a80a118253"
  96. # 腾讯cos
  97. cos:
  98. secretId: AKIDwISNOFsJXYGjy89FJI9UnzuZFgTtRgFe
  99. secretKey: IK5af8MJzPoKbdQxDCtKWR5T5PSEkyDB
  100. bucket: ap-shanghai
  101. bucketName: t1-1305573081
  102. path: https://t1-1305573081.file.myqcloud.com
  103. preffix: test
  104. classId: 843437
  105. # 微信支付
  106. #wxpay:
  107. # v3url: https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi
  108. # v3urlRefund: https://api.mch.weixin.qq.com/v3/refund/domestic/refunds
  109. # merchantId: 1608699504
  110. # serialNumber: 487159E168001CDBA0EFE2C988249A84023AD6CC
  111. # v3key: qqwweerrttyyuuiioopp123456789000
  112. # notifyUrl: http://1.15.26.233:8080/jsjp-admin/open-api/wx/notify/wxpay
  113. # notifyUrlRefund: http://1.15.26.233:8080/jsjp-admin/open-api/wx/notify/refund
  114. # 极速驾培微信支付
  115. wxpay:
  116. v3url: https://api.mch.weixin.qq.com/v3/pay/transactions/app
  117. v3urlRefund: https://api.mch.weixin.qq.com/v3/refund/domestic/refunds
  118. merchantId: 1611324484
  119. serialNumber: 53EBF541F383371B121D7B57B25305FC0BB04F42
  120. v3key: 7hM14893GvG3JK05575jk1l6P4tF042B
  121. notifyUrl: https://jsjp-admin1.zzxcx.net/open-api/wx/notify/wxpay
  122. notifyUrlRefund: https://jsjp-admin1.zzxcx.net/open-api/wx/notify/refund
  123. appId: wx606fa102dbc4b8ab
  124. # 电影
  125. film:
  126. appKey: 10000000000
  127. appSecret: 25f9e794323b453885f5181f1b624d0b
  128. notifyUrl: http://1.15.26.233:8080/jsjp-admin/open-api/film/notify/filmOrder
  129. v1Url: http://movieapi-test.taototo.cn/
  130. v2Url: http://movieapi2-test.taototo.cn/
  131. # 拼多多
  132. pdd:
  133. clientId: "fa0f2debb5b0444b9719919d7b8204d1"
  134. clientSecret: "3305b6bb37252495848e67fd991134651e308495"
  135. pid: "1642187_203462988"
  136. # 美团联盟
  137. mei:
  138. actId: "2"
  139. key: "610077fffb51712efaa686d9ffb623da"
  140. secret: "514202a9238958b16cb13805d6f79273"
  141. sid: "jsshq001"
  142. appId: "wxde8ac0a21135c07d"
  143. # 挖数据平台
  144. wai:
  145. appid: "7629"
  146. secret: "cce08fcab10ff96a863892bb6e396a9e"
  147. # 福禄平台
  148. fulu:
  149. appKey: "i4esv1l+76l/7NQCL3QudG90Fq+YgVfFGJAWgT+7qO1Bm9o/adG/1iwO2qXsAXNB"
  150. appSecret: "0a091b3aa4324435aab703142518a8f7"
  151. url: "http://pre.openapi.fulu.com"
  152. notifyUrl: "http://1.15.26.233:8080/jsjp-admin/open-api/fulu/notify/fuluOrder"