40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
spring:
|
|||
|
|
datasource:
|
||
|
|
url: jdbc:mysql://${zlt.datasource.ip}:3306/oauth-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.oauth.model
|
||
|
|
global-config:
|
||
|
|
db-config:
|
||
|
|
id-type: auto
|
||
|
|
|
||
|
|
zlt:
|
||
|
|
oauth2:
|
||
|
|
token:
|
||
|
|
store:
|
||
|
|
type: authJwt
|
||
|
|
swagger:
|
||
|
|
enabled: true
|
||
|
|
title: 认证中心
|
||
|
|
description: 认证中心接口文档
|
||
|
|
version: 1.0
|
||
|
|
base-package: com.central.oauth.controller
|
||
|
|
security:
|
||
|
|
ignore:
|
||
|
|
# 忽略认证的地址
|
||
|
|
httpUrls: >
|
||
|
|
/validata/**,
|
||
|
|
/clients,
|
||
|
|
/clients/**,
|
||
|
|
/login.html,
|
||
|
|
/css/**,
|
||
|
|
/images/**,
|
||
|
|
/js/**
|
||
|
|
code:
|
||
|
|
# 忽略验证码的应用编号
|
||
|
|
ignoreClientCode: app
|