application.yml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. server:
  2. port: 8062
  3. tomcat:
  4. max-connections: 100000
  5. spring:
  6. profiles:
  7. include: user
  8. #resources:
  9. #static-locations: file:F:/IDEA/demo/schoolparty_mysql/src/main/resources/static/
  10. datasource:
  11. name: party_build_db
  12. type: com.alibaba.druid.pool.DruidDataSource
  13. #driver-class-name: com.mysql.jdbc.Driver
  14. #url: jdbc:mysql://192.168.0.68:3306/ghscpartybuild?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&autoReconnect=true&useSSL=false
  15. #username: root
  16. #password: 1
  17. druid:
  18. #监控统计拦截的filters
  19. filters: stat
  20. driver-class-name: com.mysql.cj.jdbc.Driver
  21. #基本属性
  22. url: jdbc:mysql://office.bowintek.com:3306/ghscpartybuild?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
  23. username: root
  24. password: bowin@123
  25. #配置初始化大小/最小/最大
  26. initial-size: 1
  27. min-idle: 1
  28. max-active: 20
  29. #获取连接等待超时时间
  30. max-wait: 60000
  31. #间隔多久进行一次检测,检测需要关闭的空闲连接
  32. time-between-eviction-runs-millis: 60000
  33. #一个连接在池中最小生存的时间
  34. min-evictable-idle-time-millis: 300000
  35. validation-query: SELECT 'x'
  36. test-while-idle: true
  37. test-on-borrow: false
  38. test-on-return: false
  39. #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
  40. pool-prepared-statements: false
  41. max-pool-prepared-statement-per-connection-size: 20
  42. servlet:
  43. multipart:
  44. max-request-size: 50MB
  45. max-file-size: 20MB
  46. jackson:
  47. time-zone: GMT+8
  48. cache:
  49. redis:
  50. time-to-live: 60s
  51. type: redis
  52. redis:
  53. host: 192.168.0.68
  54. #host: 39.98.153.250
  55. port: 6379
  56. database: 0
  57. password: bowin123
  58. #password: borD1234
  59. timeout: 10000
  60. lettuce:
  61. pool:
  62. min-idle: 50
  63. max-idle: 100
  64. max-wait: -1
  65. max-active: 100
  66. #shutdown-timeout: 100ms
  67. mvc:
  68. async:
  69. request-timeout: 300000
  70. logging:
  71. config: classpath:logback-spring.xml
  72. mybatis:
  73. mapper-locations: classpath:mapping/*.xml,mapping/cquery/*.xml
  74. type-aliases-package: com.ghsc.partybuild.model
  75. pagehelper:
  76. helperDialect: mysql
  77. reasonable: true
  78. supportMethodsArguments: true
  79. params: count=countSql
  80. appconfig:
  81. appid: f0c4fa7f9f3c4fb6bd56aac608b7ad3f
  82. secret: fx111122
  83. sysRoleid: 4e1260b0-8579-11e8-8646-001517ca1f2c
  84. ouroot-id: 1
  85. #开发平台设置
  86. isDev: true
  87. canLog: false
  88. canLoadDbImg: true
  89. uploadfile-url: d:/sitefile
  90. desKey: MMmmHHss
  91. payCert-url: d:/sitefile/certs
  92. fileMgr-url: d:/sitefile/docs
  93. #学院党委代码
  94. gddwdm: '001091209'
  95. sys-name: '广州卫生职业技术学院智慧党建系统'
  96. #ftp配置 192.168.0.51:21@aqfxgk:qwe123
  97. #ftp-host: 39.98.145.11
  98. ftp-host: 192.168.0.68
  99. ftp-port: 21
  100. #ftp-user: BowinFtp
  101. ftp-user: FtpUser
  102. #ftp-pwd: Ftp!A2019
  103. ftp-pwd: bowin123
  104. jcms-roleId: 18e273e9-b3a5-49f5-be66-3dbdfc7acc10
  105. #app des加密配置
  106. app-des-secret: PjV79van00ES7%vTy
  107. app-des-vi: PjV79van
  108. #登陆地址
  109. app-login-url: http://10.160.7.210:8088/oa/api/user/login
  110. app-saveCheckMessage-url: http://10.160.7.210:8088/oa/api/message/saveCheckMessage
  111. app-updateCheckMessage-url: http://10.160.7.210:8088/oa/api/message/updateCheckMessage
  112. app-fromSys: dangjian
  113. #模拟登陆密码
  114. auto-pwd: 123456
  115. lead-uids: '2121217762,2121402851'
  116. #特殊菜单过滤 a,a|b,b,c
  117. menu-dwids: '001091209135'
  118. safe-ext: '.jpg,.png,.gif,.zip,.rar,.7z,.xls,.xlsx,.doc,.docx,.pdf,.ppt,.pptx,.jpeg,.txt,.mp4,.avi'
  119. #OA接入参数
  120. oaWebUrl: 'http://api-gw.guangzh.cr'
  121. oaUserName: 'gtdjapi'
  122. oaPassWord: 'gtdjapi0908'
  123. oaGrantType: 'password'
  124. oaBaseId: 'Basic aWRtYXBwOmlkbWFwcHNlY3JldA=='
  125. #江西接入地址
  126. jxCasUrl: 'https://portal.zqu.edu.cn'
  127. jxLocationUrl: 'http://172.16.20.56/jxCasLogin'
  128. #定时服务执行配置
  129. isBackService: true
  130. sync-cron-usercount: '0/5 * * * 1 ?'
  131. sync-cron-userage: '0 0 23 1 1 ?'
  132. sync-cron-wechatpay: '0/30 * * * 1 ? '
  133. sync-cron-partydues: '0 0 13,23 * * ?'
  134. sync-cron-updateUserparty: '0 0 13,23 * * ?'
  135. bowinLisencing: '/fGsysepxe1l+HNXO9M+LVGxyk7rdCqEAkBz4a2rU1s='
  136. #bowinLisencing: 'omkEhjdATMchNVk3e3j4C7FlRHKQJtQi'
  137. corsUrl: 'http://localhost:8100'
  138. jwt-config:
  139. secret: '3bd876fc69554214a8e07df3ed80876b'
  140. expire: 1
  141. token-name: logintoken
  142. wechat-pay-config:
  143. appId: 'wx737c2a7879b897c1'
  144. mchId: '1603522265'
  145. mchKey: '11BCA2F1697B4C65B7016C5F5AB620BD'
  146. keyPath: 'D:\xx\xx\xxxx\apiclient_cert.p12'
  147. notifyUrl: 'http://www.bowintek.com:8028/wxapi/pay/notify'
  148. appSecret: '0d37c99bf2edd9ef3d839869bfa724ad'
  149. #微信授权回调地址
  150. redirectURI: 'http://www.bowintek.com/hbPartyMobile/index.html'
  151. accessScope: 'snsapi_base'