api.version: api/v1/ams spring: profiles: include: ${SPRING_PROFILES:prod} jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 # serialization: {WRITE_DATES_AS_TIMESTAMPS: true} messages: basename: message encoding: UTF-8 mvc: static-path-pattern: #eureka设置 eureka: client: service-url: defaultZone: http://root:root@${EUREKA_HOST:172.16.33.161}:${EUREKA_PORT:8081}/eureka/ register-with-eureka: false #表示向EurekaServer注册自己 默认为true fetch-registry: false #是否从EurekaServer抓取已有的注册信息,默认为true,单节点无所谓,集群必须设置为true才能配合ribbon使用负载均衡 instance: prefer-ip-address: false status-page-url: http://${spring.cloud.client.ip-address}:${server.port}/swagger-ui.html#/ instance-id: ${spring.cloud.client.ip-address}:${server.port} genxml: pth: com/a cache: level: 2 redis: host: 10.10.50.28 port: 6379 pwd: adhykdj project: prefix: sysmanage pool: maxTotal: 8 maxWaitMillis: 1000 maxIdle: 8 cache: time: 864000000 database: 0 mybatis: type-aliases-package: com.steerinfo.dil.model mapper-locations: classpath:com/steerinfo/dil/mapper/*.xml configuration: # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl mapUnderscoreToCamelCase: true call-setters-on-nulls: true