12345678910111213141516171819202122232425262728293031323334353637383940 |
- ################### 服务端 配置 ####################
- server:
- port: 8082
- ################## 各种奇怪的开关 ###################
- zen:
- swagger-open: true # swagger-ui是否开启
- ################### spring配置 ###################
- spring:
- profiles:
- active: dev
- include: orm,mq,cache,umps,platform,job
- # redis:
- # host: localhost
- # port: 6379
- # password:
- http:
- converters:
- preferred-json-mapper: fastjson
- multipart:
- max-request-size: 10MB #最大请求大小
- max-file-size: 10MB #最大文件大小
- enabled: true
- aop:
- proxy-target-class: true #false为启用jdk默认动态代理,true为cglib动态代理
- auto: true
- jackson:
- deserialization:
- fail-on-unknown-properties: false # 多余字段反序列化过滤
- logging:
- level:
- root: info
- com.gxzc.zen: debug
- com.xxl.job.core: warn
- com.atomikos: warn
- path: logs/
- file: zen.log
- #debug: true
|