application-dev.yml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. # 数据源配置
  2. spring:
  3. datasource:
  4. #配置hikari连接池
  5. hikari:
  6. minimum-idle: 10
  7. maximum-pool-size: 20
  8. connection-timeout: 10000
  9. idle-timeout: 30000
  10. connection-init-sql: set names utf8mb4
  11. #动态数据源配置
  12. dynamic:
  13. primary: slave #设置默认的数据源或者数据源组,默认值即为master
  14. strict: false #设置严格模式,默认false不启动. 启动后在未匹配到指定数据源时候会抛出异常,不启动则使用默认数据源.
  15. datasource:
  16. #数据源
  17. master:
  18. driver-class-name: com.mysql.cj.jdbc.Driver
  19. url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas_top?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
  20. username: root
  21. password: zhongzheng2021
  22. #数据源
  23. slave:
  24. driver-class-name: com.mysql.cj.jdbc.Driver
  25. url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
  26. username: root
  27. password: zhongzheng2021
  28. # datasource:
  29. # type: com.alibaba.druid.pool.DruidDataSource
  30. # driverClassName: com.mysql.cj.jdbc.Driver
  31. # druid:
  32. # # 主库数据源
  33. # master:
  34. # url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
  35. # username: root
  36. # password: zhongzheng2021
  37. # # 从库数据源
  38. # slave:
  39. # # 从数据源开关/默认关闭
  40. # enabled: false
  41. # url:
  42. # username:
  43. # password:
  44. # # 初始连接数
  45. # initialSize: 5
  46. # # 最小连接池数量
  47. # minIdle: 10
  48. # # 最大连接池数量
  49. # maxActive: 20
  50. # # 配置获取连接等待超时的时间
  51. # maxWait: 60000
  52. # # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  53. # timeBetweenEvictionRunsMillis: 60000
  54. # # 配置一个连接在池中最小生存的时间,单位是毫秒
  55. # minEvictableIdleTimeMillis: 300000
  56. # # 配置一个连接在池中最大生存的时间,单位是毫秒
  57. # maxEvictableIdleTimeMillis: 900000
  58. # # 配置检测连接是否有效
  59. # validationQuery: SELECT 1 FROM DUAL
  60. # testWhileIdle: true
  61. # testOnBorrow: false
  62. # testOnReturn: false
  63. # webStatFilter:
  64. # enabled: true
  65. # statViewServlet:
  66. # enabled: true
  67. # # 设置白名单,不填则允许所有访问
  68. # allow:
  69. # url-pattern: /druid/*
  70. # # 控制台管理用户名和密码
  71. # login-username: ruoyi
  72. # login-password: 123456
  73. # filter:
  74. # stat:
  75. # enabled: true
  76. # # 慢SQL记录
  77. # log-slow-sql: true
  78. # slow-sql-millis: 1000
  79. # merge-sql: true
  80. # wall:
  81. # config:
  82. # multi-statement-allow: true
  83. # redis 配置
  84. redis:
  85. # 地址
  86. host: 192.168.1.222
  87. # 端口,默认为6379
  88. port: 6379
  89. # 数据库索引
  90. database: 0
  91. # 密码
  92. password: zhongzheng2021_redis
  93. # 连接超时时间
  94. timeout: 10s
  95. lettuce:
  96. pool:
  97. # 连接池中的最小空闲连接
  98. min-idle: 0
  99. # 连接池中的最大空闲连接
  100. max-idle: 8
  101. # 连接池的最大数据库连接数
  102. max-active: 8
  103. # #连接池最大阻塞等待时间(使用负值表示没有限制)
  104. max-wait: -1ms
  105. aliyun:
  106. oss:
  107. endpoint: https://file-dev.xyyxt.net # oss对外服务的访问域名
  108. accessKeyId: LTAIgC8O2WUXvXuR # 访问身份验证中用到用户标识
  109. accessKeySecret: 1yyCazuT1M6MruBXzgFjP0p9gdMlwX # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
  110. bucketName: zhongzheng-test # oss的存储空间
  111. policy:
  112. expire: 30 # 签名有效期(S)
  113. maxSize: 100 # 上传文件大小(M)
  114. callback: http://120.79.166.78:19004/aliyun/oss/callback # 文件上传成功后的回调地址
  115. dir:
  116. prefix: oss/images/ # 上传文件夹路径前缀 `
  117. poliv:
  118. token:
  119. userid: d5f6d309fe
  120. writetoken: 8f14a371-9d02-4ec1-922d-54d7b4f79dca
  121. readtoken: f2c397b4-e2a3-46dc-9266-e6a43ac26a35
  122. secretkey: xpPrYdcbA1
  123. wx:
  124. small:
  125. appid: wxd3c8ae80cf43a305
  126. appsecret: 193a001ebfd46f227008a21e9d13e750
  127. gzh:
  128. appid: wx6f48f721d18244eb
  129. appsecret: 2f8b2b4ff66e2f6adfb9f08ae22d7474
  130. studyNoteTpId: DndIixcAp15Sqgb4KOGTMf73VLF09NlCUifPSel5Y_s
  131. qdyTpId: s981yq3SyIODNUEXFzVSWn0OYj90E72aKdtKtSp05_E
  132. qdySubTpId: gzE6zddD7OzDLUtOO4GfU-KPCxpMqWFhCj86uXExqB8
  133. qdySubStatusTpId: 7oKaAHmc4P7jqfonuiM1wnjfNLh9T662Ywm1OAFaUFA
  134. qdyExamTpId: 66LitnYp0AIWFclo0rLdyLQP4-_vVc4pM95fyFs6l-c
  135. qdyExamStatusTpId: J7nNogGhD38OD20gI-3CzwawfEMu7lOjR8fsi4LgJ5g
  136. signatureTpId: 66LitnYp0AIWFclo0rLdyLQP4-_vVc4pM95fyFs6l-c
  137. wepay:
  138. mchid: 1342013901
  139. key: GdXyPxYjZx1234123yJzXgDxYpXyjpx9
  140. appsecret: GdXyPxYjZx1234123yJzXgDxYpXyjpx9
  141. notifyUrl: http://120.79.166.78:19012/wx/pay/callback
  142. scanLogin:
  143. host: https://testm.xyyxt.net/
  144. wisdomExamRoom:
  145. mchid: 10001
  146. appid: ZZ-YXT-GZ-20220820-0001
  147. app_secret: mt70O1s/Xd5LwuH7yHLpj9R+tKUn5j9vTnCvmgBnbJDA11Hpl7+q4lEZliqPAjN+YHPn9bGmHkAbw5XwhhMiYg==
  148. host: http://bg.sam457.site:9020
  149. certificate:
  150. host: http://192.168.1.38:8000/
  151. liveGotoURL: http://
  152. enCodeVersion: develop
  153. oldStudySys:
  154. syncPath: http://gdxypx.xy.com/System/BussinessApi/PostUserStudyRecords
  155. sharePath: http://192.168.1.210:8086/witsystem/dataapi/SaleOrder
  156. shareCanclePath: http://192.168.1.210:8086/witsystem/dataapi/ordercance
  157. searchGradeCount: http://gdxypx.xy.com/System/BussinessApi/OfficialGradeCount
  158. pushGradeCount: http://gdxypx.xy.com/System/BussinessApi/OfficialGradeCountAuto
  159. educationalInspector: http://192.168.1.210/EduSystem/BusinessApi/NewYxtUserPrompt
  160. classUserListPath: http://gdxypx.xy.com/System/BussinessApi/UserCourseCategoryListcno
  161. classOpenPath: http://gdxypx.xy.com/System/BussinessApi/OpenClass
  162. salePassword: http://gdxypx.xy.com/WitSystem/BussinessApi/GetSaleInfo
  163. updateInvoicePath: http://gdxypx.xy.com/system/BussinessApi/UpdateInvoiceData
  164. officialPush:
  165. infoPath: https://jypt-dev.gdcic.net/organjxjy/ShangBaoMingdan
  166. periodPath: https://jypt-dev.gdcic.net/organjxjy/XueshiShenqing
  167. infoAccount: peixunjigou
  168. token: 0ca175b9c0f726a831d895e26933246
  169. distributionOldPay:
  170. host: http://gdxypx.xy.com/System/BussinessApi/AddRedPackData
  171. handouts:
  172. savePath: http://192.168.1.7:9090/course/handouts/save
  173. updatePath: http://192.168.1.7:9090/course/handouts/edit
  174. Nuonuo:
  175. host: https://sandbox.nuonuocs.cn/open/v1/services
  176. APPkey: SD39149760
  177. APPSecret: SD168A248B2844E0