123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- server:
- port: 11000
- spring:
- profiles:
- active: dev
- include: orm,cache,msg,shiro
- application:
- name: registry # 服务名称,改成自己的,名称固定不变,不要随便更改
- http:
- converters:
- preferred-json-mapper: jackson
- jackson:
- date-format: yyyy-MM-hh HH:mm
- deserialization:
- fail-on-unknown-properties: false # 多余字段反序列化过滤
- aop:
- auto: true
- proxy-target-class: true #false为启用jdk默认动态代理,true为cglib动态代理
- freemarker:
- prefer-file-system-access: false
- #服务注册于发现配置
- eureka:
- instance:
- hostname: localhost
- prefer-ip-address: true
- ip-address: 192.168.1.96 # 把自己的ip替换
- client:
- register-with-eureka: true
- fetch-registry: true
- service-url:
- registry1: http://192.168.1.206:11000/eureka/
- ---
- spring:
- profiles: dev
- swagger:
- open: true
- logging:
- level:
- root: info
- com.gxzc:
- zen: debug
- zen.umps.config: info
- zen.logging: info
- com.xxl.job.core: info
- com.atomikos: warn
- com.maihaoche: warn
- RocketmqRemoting: warn
- # com.github.tobato.fastdfs: debug
- file: logs/zen.log
- ---
- spring:
- profiles: prod
- server:
- port: 10000 # 生产环境端口号
- swagger:
- open: false
- logging:
- level:
- root: info
- com.gxzc:
- zen: warn
- zen.umps.config: warn
- com.xxl.job.core: warn
- com.atomikos: warn
- com.maihaoche: warn
- RocketmqRemoting: warn
- file: logs/zen.log
|