server: port: 8081 ################### mybatis-plus配置 ################### mybatis-plus: mapper-locations: classpath:mapping/*/*.xml typeAliasesPackage: com.gxzc.zen.api.sys.mapper, com.gxzc.zen.api.rec.mapper global-config: id-type: 0 #0:数据库ID自增 1:用户输入id 2:全局唯一id(IdWorker) 3:全局唯一ID(uuid) db-column-underline: true refresh-mapper: true logic-delete-value: 0 logic-not-delete-value: 1 configuration: map-underscore-to-camel-case: true cache-enabled: true #配置的缓存的全局开关 lazyLoadingEnabled: true #延时加载的开关 multipleResultSetsEnabled: true #开启的话,延时加载一个属性时会加载该对象全部属性,否则按需加载属性 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql语句,调试用 ################### spring配置 ################### spring: profiles: active: dev include: orm # redis: # host: localhost # port: 6379 # password: http: converters: preferred-json-mapper: fastjson multipart: max-request-size: 100MB #最大请求大小 max-file-size: 100MB #最大文件大小 aop: proxy-target-class: true #false为启用jdk默认动态代理,true为cglib动态代理