1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- server:
- port: 8107
- spring:
- application:
- name: caimei-starstyle #指定服务名
- #数据源连接--start
- datasource:
- url: jdbc:mysql://10.104.172.219:3306/caimei?characterEncoding=UTF8
- username: developer
- password: diKtPYZ'wToI&9#L
- #数据源连接--end
- #模板引擎配置
- thymeleaf:
- #路径
- prefix: classpath:/templates/
- #取消thymeleaf对页面的强制校验
- content-type: text/html
- mode: LEGACYHTML5
- cache: false
- #整合mybatis
- mybatis:
- #加载Mybatis映射文件
- mapper-locations:
- - classpath:mapper/*.xml
- - classpath:caimei-search-mapper/*Mapper.xml
- #pojo别名扫描包
- type-aliases-package: com.caimei.entity
- #分页配置
- pagehelper:
- helperDialect: mysql
- reasonable: true
- supportMethodsArguments: true
- params: count=countSql
- #日志配置
- logging:
- path: /mnt/newdatadrive/data/runtime/tomcat-instance/caimei-mall/catalina.out
- level:
- root: info
- miniprogram:
- #邀请码有效时长 /天
- ValidTime: 7
- domain: https://www.caimei365.com
- #组织appid1....2....3,星范组织
- AppId1: wx5a5cda32926f55ac
- AppSecret1: 1c371e72aba710949dd74bb184a3a774
- #采美组织
- AppId2: wxf3cd4ae0cdd11c36
- AppSecret2: 9bdb37d28c5e74ad3694c09c205e9bd2
|