application-dev.yml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
  35. ## url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas_pre?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
  36. # username: root
  37. # password: zhongzheng2021
  38. # # 从库数据源
  39. # slave:
  40. # # 从数据源开关/默认关闭
  41. # enabled: false
  42. # url:
  43. # username:
  44. # password:
  45. # # 初始连接数
  46. # initialSize: 5
  47. # # 最小连接池数量
  48. # minIdle: 10
  49. # # 最大连接池数量
  50. # maxActive: 20
  51. # # 配置获取连接等待超时的时间
  52. # maxWait: 60000
  53. # # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  54. # timeBetweenEvictionRunsMillis: 60000
  55. # # 配置一个连接在池中最小生存的时间,单位是毫秒
  56. # minEvictableIdleTimeMillis: 300000
  57. # # 配置一个连接在池中最大生存的时间,单位是毫秒
  58. # maxEvictableIdleTimeMillis: 900000
  59. # # 配置检测连接是否有效
  60. # validationQuery: SELECT 1 FROM DUAL
  61. # testWhileIdle: true
  62. # testOnBorrow: false
  63. # testOnReturn: false
  64. # webStatFilter:
  65. # enabled: true
  66. # statViewServlet:
  67. # enabled: true
  68. # # 设置白名单,不填则允许所有访问
  69. # allow:
  70. # url-pattern: /druid/*
  71. # # 控制台管理用户名和密码
  72. # login-username: ruoyi
  73. # login-password: 123456
  74. # filter:
  75. # stat:
  76. # enabled: true
  77. # # 慢SQL记录
  78. # log-slow-sql: true
  79. # slow-sql-millis: 1000
  80. # merge-sql: true
  81. # wall:
  82. # config:
  83. # multi-statement-allow: true
  84. # redis 配置
  85. redis:
  86. # 地址
  87. host: 192.168.1.222
  88. # 端口,默认为6379
  89. port: 6379
  90. # 数据库索引
  91. database: 0
  92. # 密码
  93. password: zhongzheng2021_redis
  94. # 连接超时时间
  95. timeout: 10s
  96. lettuce:
  97. pool:
  98. # 连接池中的最小空闲连接
  99. min-idle: 0
  100. # 连接池中的最大空闲连接
  101. max-idle: 8
  102. # 连接池的最大数据库连接数
  103. max-active: 8
  104. # #连接池最大阻塞等待时间(使用负值表示没有限制)
  105. max-wait: -1ms
  106. aliyun:
  107. oss:
  108. endpoint: https://file-dev.xyyxt.net # oss对外服务的访问域名
  109. accessKeyId: LTAIgC8O2WUXvXuR # 访问身份验证中用到用户标识
  110. accessKeySecret: 1yyCazuT1M6MruBXzgFjP0p9gdMlwX # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
  111. bucketName: zhongzheng-test # oss的存储空间
  112. policy:
  113. expire: 30 # 签名有效期(S)
  114. maxSize: 100 # 上传文件大小(M)
  115. callback: http://120.79.166.78:19004/aliyun/oss/callback # 文件上传成功后的回调地址
  116. dir:
  117. prefix: oss/images/ # 上传文件夹路径前缀 `
  118. poliv:
  119. token:
  120. userid: d5f6d309fe
  121. writetoken: 8f14a371-9d02-4ec1-922d-54d7b4f79dca
  122. readtoken: f2c397b4-e2a3-46dc-9266-e6a43ac26a35
  123. secretkey: xpPrYdcbA1
  124. wx:
  125. small:
  126. appid: wxd3c8ae80cf43a305
  127. appsecret: 193a001ebfd46f227008a21e9d13e750
  128. gzh:
  129. appid: wx6f48f721d18244eb
  130. appsecret: 2f8b2b4ff66e2f6adfb9f08ae22d7474
  131. studyNoteTpId: DndIixcAp15Sqgb4KOGTMf73VLF09NlCUifPSel5Y_s
  132. qdyTpId: s981yq3SyIODNUEXFzVSWn0OYj90E72aKdtKtSp05_E
  133. qdySubTpId: gzE6zddD7OzDLUtOO4GfU-KPCxpMqWFhCj86uXExqB8
  134. qdySubStatusTpId: 7oKaAHmc4P7jqfonuiM1wnjfNLh9T662Ywm1OAFaUFA
  135. qdyExamTpId: 66LitnYp0AIWFclo0rLdyLQP4-_vVc4pM95fyFs6l-c
  136. qdyExamStatusTpId: J7nNogGhD38OD20gI-3CzwawfEMu7lOjR8fsi4LgJ5g
  137. signatureTpId: 66LitnYp0AIWFclo0rLdyLQP4-_vVc4pM95fyFs6l-c
  138. wepay:
  139. mchid: 1342013901
  140. key: GdXyPxYjZx1234123yJzXgDxYpXyjpx9
  141. appsecret: GdXyPxYjZx1234123yJzXgDxYpXyjpx9
  142. notifyUrl: http://120.79.166.78:19012/wx/pay/callback
  143. scanLogin:
  144. host: https://testm.xyyxt.net/
  145. wisdomExamRoom:
  146. mchid: 10001
  147. appid: ZZ-YXT-GZ-20220820-0001
  148. app_secret: mt70O1s/Xd5LwuH7yHLpj9R+tKUn5j9vTnCvmgBnbJDA11Hpl7+q4lEZliqPAjN+YHPn9bGmHkAbw5XwhhMiYg==
  149. host: JhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsic2hhbmp1LXJlc291cmNlIl0sI
  150. certificate:
  151. host: http://192.168.1.38:8000/
  152. liveGotoURL: http://120.79.166.78:19014/
  153. enCodeVersion: trial
  154. oldStudySys:
  155. syncPath: http://gdxypx.xy.com/System/PostUserStudyRecords
  156. sharePath: http://192.168.1.210:8086/witsystem/dataapi/SaleOrder
  157. shareCanclePath: http://192.168.1.210:8086/witsystem/dataapi/ordercance
  158. searchGradeCount: http://gdxypx.xy.com/System/BussinessApi/OfficialGradeCount
  159. pushGradeCount: http://gdxypx.xy.com/System/BussinessApi/OfficialGradeCountAuto
  160. educationalInspector: http://192.168.1.210/EduSystem/BusinessApi/NewYxtUserPrompt
  161. classUserListPath: http://gdxypx.xy.com/System/BussinessApi/UserCourseCategoryListcno
  162. classOpenPath: http://gdxypx.xy.com/System/BussinessApi/OpenClass
  163. officialPush:
  164. infoPath: http://jypt-dev.gdcic.net/organjxjy/ShangBaoMingdan
  165. periodPath: http://jypt-dev.gdcic.net/organjxjy/XueshiShenqing
  166. infoAccount: peixunjigou
  167. token: 0ca175b9c0f726a831d895e26933246