12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # ####################################################################################################
- # 服务端配置
- server.port=8099
- server.servlet.context-path=/
- server.tomcat.uri-encoding=UTF-8
- # ####################################################################################################
- # thymeleaf 配置
- spring.thymeleaf.cache=false
- spring.thymeleaf.jackson.time-zone=GMT+8
- spring.thymeleaf.jackson.date-format=yyyy-MM-dd HH:mm:ss
- # ####################################################################################################
- # 数据源配置
- spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
- spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
- spring.datasource.username=root
- spring.datasource.password=p011430seya10
- #spring.datasource.druid.test-on-borrow=true
- #spring.datasource.druid.test-while-idle=true
- # ####################################################################################################
- # MyBatis 配置
- mybatis.mapper-locations=mappers/*Mapper.xml
- mybatis.type-aliases-package=com.hssx.cloudmodel.entity/*
- # 控制台输出SQL语句
- logging.level.com.hssx.cloudmodel.mapper = debug
- # ####################################################################################################
- #配置Session
- spring.session.store-type=none
- # ####################################################################################################
- #成功页面跳转
- spring.thymeleaf.prefix=classpath:/static/
- ######################################################################################################
- ## redis 配置
- #spring.redis.host=localhost
- #spring.redis.port=6379
- ######################################################################################################
- # 文件上传路径
- upload.path=D:/cloud/upload/
- #######################################################################################################
- # 配置上传文件的大小设置
- # Single file max size 即单个文件大小
- spring.servlet.multipart.max-file-size=10MB
- spring.servlet.multipart.max-request-size=100MB
|