application-prod.yml 5.7 KB

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