### 服务器配置 server: port: 8080 ### 配置 project: captcha-open: true #是否开启登录验证码 shiro: remember-me-timeout: 7 #cookie记住登录信息时间,默认7天(天) global-session-timeout: 1800 #Session会话超时时间,默认30分钟(秒) upload: #file-path: #文件上传路径,默认在项目根目录upload下 static-path: /upload/** #上传文件静态访问路径 ### spring配置 spring: main: allow-bean-definition-overriding: true ## 数据库配置 datasource: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://47.102.154.191:3306/cwhelp_test?useSSL=false&characterEncoding=utf-8 username: root password: LABcwmysql devtools: restart: enabled: true ## 11jpa配置 jpa: show-sql: true hibernate: ddl-auto: update properties: hibernate.dialect: com.cwhelp.common.mysql.MySQLDialectUTF8 hibernate.format_sql: false open-in-view: true ## thymeleaf模板设置 thymeleaf: prefix: classpath:/templates suffix: .html mode: LEGACYHTML5 encoding: utf-8 servlet.content-type: text/html cache: false ## 文件上传配置 servlet: multipart: max-file-size: 10MB max-request-size: 10MB debug: true