application.yml 1.01 KB
json:
  host1: http://aliv14.data.moji.com
  path1: /whapi/json/alicityweather/briefforecast6days
  host2: http://aliv14.data.moji.com
  path2: /whapi/json/alicityweather/aqi
  appcode: 98261c0416a944aa812174cc312335bf
server:
  port: 9797
spring: 
  datasource: 
    driverClassName: org.postgresql.Driver
    url: jdbc:postgresql://pgm-2ze197c18ro6p1r1fo.pg.rds.aliyuncs.com:3433/ShoppingMall_retail2.0
    username: vion
    password: cdmqYwBq9uAdvLJb
    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