- server:
- port: 5008 # 端口号
- servlet:
- context-path: ${spring.application.name} # 访问路径,如果不配置,访问IP:端口号,配置后访问IP:端口号/${context-path}
- spring:
- application:
- name: /qc-web # 项目名称
- http:
- encoding: # http编码
- force: true
- charset: UTF-8
- enabled: true
- logging: # 日志
- config: classpath:logback-spring.xml
|