application.yml 1.07 KB
json:
  host1: http://aliv13.data.moji.com
  path1: /whapi/json/alicityweather/briefforecast6days
  host2: http://aliv13.data.moji.com
  path2: /whapi/json/alicityweather/aqi
  appcode: 98261c0416a944aa812174cc312335bf
server:
  port: 9797
spring: 
  datasource: 
    driverClassName: org.postgresql.Driver
    url: jdbc:postgresql://36.112.68.214:5432/VionCount
    username: postgres
    password: vion
    type: com.alibaba.druid.pool.DruidDataSource
    initialSize: 5
    minIdle: 5
    maxActive: 20 
    maxWait: 60000
    timeBetweenEvictionRunsMillis: 60000 
    minEvictableIdleTimeMillis: 300000 
    validationQuery: select version();
    testWhileIdle: true  
    testOnBorrow: true  
    testOnReturn: false
    poolPreparedStatements: true
    maxPoolPreparedStatementPerConnectionSize: 20  
    filters: stat,wall,log4j
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
## 自定义配置项 ##
# 天气服务调用的定时任务,默认每天早上8点
schedules:
  0 0 8 * * ?