server: port: 8200 tomcat: max-connections: 100000 max-http-form-post-size: 102400000 spring: web: resources: static-locations: file:D:\Work\JavaProjects\EmploymentSite\src\main\resources\static\ datasource: name: employmentsitedb type: com.alibaba.druid.pool.DruidDataSource druid: #监控统计拦截的filters filters: stat driver-class-name: com.mysql.cj.jdbc.Driver #基本属性 url: jdbc:mysql://192.168.0.68:3306/employmentsitedb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true #url: jdbc:mysql://office.bowintek.com:3306/practicedb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true username: root password: bowin123 #配置初始化大小/最小/最大 initial-size: 1 min-idle: 1 max-active: 20 #获取连接等待超时时间 max-wait: 60000 #间隔多久进行一次检测,检测需要关闭的空闲连接 time-between-eviction-runs-millis: 60000 #一个连接在池中最小生存的时间 min-evictable-idle-time-millis: 300000 validation-query: SELECT 1 test-while-idle: true test-on-borrow: false test-on-return: false #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false pool-prepared-statements: false max-pool-prepared-statement-per-connection-size: 20 servlet: multipart: max-request-size: 50MB max-file-size: 20MB jackson: time-zone: GMT+8 cache: redis: time-to-live: 60s type: redis redis: host: 192.168.0.68 #host: 39.98.153.250 port: 6379 database: 0 password: bowin123 #password: borD1234 timeout: 10000 lettuce: pool: min-idle: 50 max-idle: 100 max-wait: -1 max-active: 100 #shutdown-timeout: 100ms mvc: async: request-timeout: 300000 format: date: yyyy-MM-dd date-time: yyyy-MM-dd HH:mm:ss logging: config: classpath:logback-spring.xml mybatis: mapper-locations: classpath:mapping/*.xml,mapping/cquery/*.xml type-aliases-package: com.hz.employmentsite.model configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl pagehelper: helperDialect: mysql reasonable: true supportMethodsArguments: true params: count=countSql appconfig: #开发平台设置 isDev: true uploadfile-url: d:/sitefile desKey: MMmmHHss #ftp配置 192.168.0.51:21@aqfxgk:qwe123 #ftp-host: 192.168.0.68 #ftp-port: 21 #ftp-user: FtpUser #ftp-pwd: bowin123 ftp-host: 39.98.145.11 ftp-port: 21 ftp-user: BowinFtp ftp-pwd: Ftp!A2019 #定时服务执行配置 jobconfig: isRunJob: true major-cron: '0 0 4 1 * ?' class-cron: '0 0 5 1 * ?' student-cron: '0 0 6 1 * ?' teacher-cron: '0 0 7 1 * ?' send-wxmessage-cron: '0 0/5 * * 1 ?' #同步教务系统组织结构数据配置 educonfig: oracledb: username: xxx password: xxx url: xxx driver-class-name: oracle.jdbc.OracleDriver oauthconfig: oauthUrl: xxx webServiceUrl: xxx mobileServiceUrl: xxx client_id: xxx client_secret: xxx wxconfig: appId: 'wx737c2a7879b897c1' appSecret: '0d37c99bf2edd9ef3d839869bfa724ad' wxMessageBaseUrl: 'http://www.bowintek.com/hzyz/mobile/index.html/#' accessScope: 'snsapi_base' ztndatagdgovConfig: paasId: 'C90-44000930' passToken: '7499876b824144c3b1675f8c1412c24c'