123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- server:
- port: 8107
- spring:
- application:
- name: caimei-starstyle #指定服务名
- #数据源连接--start
- datasource:
- driverClassName: com.mysql.jdbc.Driver
- url: jdbc:mysql://192.168.1.11:3306/caimei@20180509?characterEncoding=UTF8
- username: developer
- password: 05bZ/OxTB:X+yd%1
- #数据源连接--end
- #模板引擎配置
- thymeleaf:
- #路径
- prefix: classpath:/templates/
- #取消thymeleaf对页面的强制校验
- content-type: text/html
- mode: LEGACYHTML5
- cache: false
- #整合mybatis
- mybatis:
- #加载Mybatis映射文件
- mapper-locations: classpath:mapper/*Mapper.xml
- #pojo别名扫描包
- type-aliases-package: com.caimei.entity
- #分页配置
- pagehelper:
- helperDialect: mysql
- reasonable: true
- supportMethodsArguments: true
- params: count=countSql
- #日志配置
- logging:
- file: E:/caimei-mall/catalina.out
- level: debug
- miniprogram:
- AppId: wxd3cadbba8bf55f47
- AppSecret: 811a6ab8105e0bdf24cd78f6e6f009a7
- #邀请码有效时长 /天
- ValidTime: 7
- domain: https://www.caimei365.com
|