application-dev.yml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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.1.222:3306/zz_edu_saas?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
  10. # 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
  11. username: root
  12. password: zhongzheng2021
  13. # 从库数据源
  14. slave:
  15. # 从数据源开关/默认关闭
  16. enabled: false
  17. url:
  18. username:
  19. password:
  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: ruoyi
  48. login-password: 123456
  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: 192.168.1.222
  63. # 端口,默认为6379
  64. port: 6379
  65. # 数据库索引
  66. database: 0
  67. # 密码
  68. password: zhongzheng2021_redis
  69. # 连接超时时间
  70. timeout: 10s
  71. lettuce:
  72. pool:
  73. # 连接池中的最小空闲连接
  74. min-idle: 0
  75. # 连接池中的最大空闲连接
  76. max-idle: 8
  77. # 连接池的最大数据库连接数
  78. max-active: 8
  79. # #连接池最大阻塞等待时间(使用负值表示没有限制)
  80. max-wait: -1ms
  81. aliyun:
  82. oss:
  83. endpoint: https://file-dev.xyyxt.net # oss对外服务的访问域名
  84. accessKeyId: LTAIgC8O2WUXvXuR # 访问身份验证中用到用户标识
  85. accessKeySecret: 1yyCazuT1M6MruBXzgFjP0p9gdMlwX # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
  86. bucketName: zhongzheng-test # oss的存储空间
  87. policy:
  88. expire: 30 # 签名有效期(S)
  89. maxSize: 100 # 上传文件大小(M)
  90. callback: http://120.79.166.78:19004/aliyun/oss/callback # 文件上传成功后的回调地址
  91. dir:
  92. prefix: oss/images/ # 上传文件夹路径前缀 `
  93. poliv:
  94. token:
  95. userid: d5f6d309fe
  96. writetoken: 8f14a371-9d02-4ec1-922d-54d7b4f79dca
  97. readtoken: f2c397b4-e2a3-46dc-9266-e6a43ac26a35
  98. secretkey: xpPrYdcbA1
  99. wx:
  100. small:
  101. appid: wxd3c8ae80cf43a305
  102. appsecret: 193a001ebfd46f227008a21e9d13e750
  103. gzh:
  104. appid: wx6f48f721d18244eb
  105. appsecret: 2f8b2b4ff66e2f6adfb9f08ae22d7474
  106. studyNoteTpId: DndIixcAp15Sqgb4KOGTMf73VLF09NlCUifPSel5Y_s
  107. qdyTpId: s981yq3SyIODNUEXFzVSWn0OYj90E72aKdtKtSp05_E
  108. qdySubTpId: gzE6zddD7OzDLUtOO4GfU-KPCxpMqWFhCj86uXExqB8
  109. qdySubStatusTpId: 7oKaAHmc4P7jqfonuiM1wnjfNLh9T662Ywm1OAFaUFA
  110. qdyExamTpId: 66LitnYp0AIWFclo0rLdyLQP4-_vVc4pM95fyFs6l-c
  111. qdyExamStatusTpId: J7nNogGhD38OD20gI-3CzwawfEMu7lOjR8fsi4LgJ5g
  112. signatureTpId: 66LitnYp0AIWFclo0rLdyLQP4-_vVc4pM95fyFs6l-c
  113. wepay:
  114. mchid: 1342013901
  115. key: GdXyPxYjZx1234123yJzXgDxYpXyjpx9
  116. appsecret: GdXyPxYjZx1234123yJzXgDxYpXyjpx9
  117. notifyUrl: http://120.79.166.78:19012/wx/pay/callback
  118. scanLogin:
  119. host: https://testm.xyyxt.net/
  120. wisdomExamRoom:
  121. mchid: 10001
  122. appid: ZZ-YXT-GZ-20220820-0001
  123. app_secret: mt70O1s/Xd5LwuH7yHLpj9R+tKUn5j9vTnCvmgBnbJDA11Hpl7+q4lEZliqPAjN+YHPn9bGmHkAbw5XwhhMiYg==
  124. host: JhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsic2hhbmp1LXJlc291cmNlIl0sI
  125. certificate:
  126. host: http://192.168.1.38:8000/
  127. liveGotoURL: http://120.79.166.78:19014/
  128. enCodeVersion: trial
  129. oldStudySys:
  130. syncPath: http://gdxypx.xy.com/System/PostUserStudyRecords
  131. sharePath: http://192.168.1.210:8086/witsystem/dataapi/SaleOrder
  132. shareCanclePath: http://192.168.1.210:8086/witsystem/dataapi/ordercance
  133. searchGradeCount: http://gdxypx.xy.com/System/BussinessApi/OfficialGradeCount
  134. pushGradeCount: http://gdxypx.xy.com/System/BussinessApi/OfficialGradeCountAuto
  135. educationalInspector: http://192.168.1.210/EduSystem/BusinessApi/NewYxtUserPrompt
  136. officialPush:
  137. infoPath: http://jypt-dev.gdcic.net/organjxjy/ShangBaoMingdan
  138. periodPath: http://jypt-dev.gdcic.net/organjxjy/XueshiShenqing
  139. infoAccount: peixunjigou
  140. token: 0ca175b9c0f726a831d895e26933246