You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
817 B
33 lines
817 B
# 选择开发环境{dev|test|prod}
|
|
spring.profiles.active=test
|
|
|
|
# 设置应用名
|
|
spring.application.name=tall-message
|
|
|
|
# 设置Springboot不启动server
|
|
#spring.main.web-application-type=none
|
|
|
|
# 容器配置
|
|
server.port=8194
|
|
server.servlet.context-path=/message/v4.0
|
|
|
|
# 日志配置
|
|
# 参见logback-spring.xml
|
|
|
|
# 编码配置信息
|
|
server.tomcat.uri-encoding=UTF-8
|
|
spring.http.encoding.charset=UTF-8
|
|
spring.http.encoding.enabled=true
|
|
spring.http.encoding.force=true
|
|
|
|
# Druid配置 详见druid.properties
|
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
|
|
|
# MyBatis配置信息
|
|
mybatis.config-location=classpath:mybatis/mybatis-config.xml
|
|
mybatis.mapper-locations=classpath*:mapper_*/*.xml
|
|
mybatis.type-aliases-package=com.ccsens.mtpro.bean
|
|
|
|
# 文件上传
|
|
spring.servlet.multipart.max-file-size=10MB
|
|
spring.servlet.multipart.max-request-size=100MB
|