server: port: 8080 servlet: context-path: ${DATA_COMPUTING_ROUTE_PREFIX:/sdk/golden/api} spring: servlet: multipart: max-request-size: 5MB max-file-size: 5MB # max-file-size 用于限制单个文件的最大上传大小,而 max-request-size 用于限制整个请求体的大小,包括所有文件和其他表单字段的大小。 mvc: pathmatch: #Springfox 使用的路径匹配是基于AntPathMatcher的,而Spring Boot 2.6.X使用的是PathPatternMatcher matching-strategy: ant_path_matcher logging: config: classpath:log4j2.xml # 接口文档配置 knife4j: enable: true basic: enable: true username: admin password: Aa123456