2019-01-19 15:31:26 +08:00
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
url: jdbc:mysql://${zlt.datasource.ip}:3306/user-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
|
|
|
|
|
username: ${zlt.datasource.username}
|
|
|
|
|
password: ${zlt.datasource.password}
|
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
mapper-locations: classpath:/mapper/*Mapper.xml
|
|
|
|
|
#实体扫描,多个package用逗号或者分号分隔
|
|
|
|
|
typeAliasesPackage: com.central.common.model
|
|
|
|
|
global-config:
|
|
|
|
|
db-config:
|
|
|
|
|
id-type: auto
|
|
|
|
|
|
|
|
|
|
zlt:
|
|
|
|
|
swagger:
|
|
|
|
|
enabled: true
|
|
|
|
|
title: 用户中心
|
|
|
|
|
description: 用户中心接口文档
|
|
|
|
|
version: 1.0
|
|
|
|
|
base-package: com.central.user.controller
|
|
|
|
|
cache-manager:
|
|
|
|
|
configs:
|
|
|
|
|
- key: menu
|
|
|
|
|
second: 600
|
|
|
|
|
- key: user
|
2019-01-22 14:12:30 +08:00
|
|
|
second: 1800
|