server : port : 9276 servlet : context-path: /cmhi compression: # 开启响应压缩 enabled : true mime-types : - application/json # RESTful API JSON # 进行压缩的最小体积 min-response-size: 1KB # Crypto Configure jasypt : encryptor: algorithm: PBEWITHHMACSHA512ANDAES_256 password : spring : mvc : throw-exception-if-no-handler-found: true web : resources: add-mappings: false datasource: driver-class-name: com.mysql.cj.jdbc.Driver dbcp2 : max-total : 128 max-wait-millis : 10000 max-idle : 32 min-idle : 8 initial-size : 8 validation-query : SELECT 1 test-while-idle : true connection-properties: characterEncoding: utf8 jackson : date-format : yyyy-MM-dd HH:mm:ss.SSS timezone : GMT+8 default-property-inclusion: non_null mapper : default-view-inclusion: true deserialization : fail-on-unknown-properties: false sql : init: encoding: utf8 # ALWAYS/EMBEDDED/NEVER mode : always enabled : true spring: messages: basename: i18n/messages #mybatis mybatis : mapper-locations : classpath*:mappers/*.xml type-aliases-package: com.cf.cs.database.pojo.entry configuration : default-enum-type-handler: com.cf.cs.database.common.DataBaseEnumHandler mybatis-flex: global-config: print-banner: false #pagehelper pagehelper : helper-dialect : mysql reasonable : true support-methods-arguments: true pageSizeZero : true params.count : countSql log4j : logger: org: mybatis: info # swagger-ui custom path springdoc : swagger-ui: path: /swagger-ui.html # JWT configure jwt : http-head : Authorization secret-key : MTIzNDU2Nzg= expire-time: 604800 # 字典配置 system : dict: raw-value : true cache : enabled: true controller: enabled: false prefix : /dict