27 lines
694 B
YAML
27 lines
694 B
YAML
## spring security 配置
|
|
security:
|
|
oauth2:
|
|
client:
|
|
client-id: ENC(gPFcUOmJm8WqM3k3eSqS0Q==)
|
|
client-secret: ENC(gPFcUOmJm8WqM3k3eSqS0Q==)
|
|
scope: server
|
|
|
|
# 数据源配置
|
|
spring:
|
|
datasource:
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
username: root
|
|
password: root
|
|
url: jdbc:mysql://127.0.0.1:3306/pigx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
|
jackson:
|
|
time-zone: GMT+8
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
resources:
|
|
static-locations: classpath:/static/,classpath:/views/
|
|
|
|
# mybaits 模块配置
|
|
mybatis-plus:
|
|
typeAliasesPackage: com.pig4cloud.pigx.codegen.entity
|
|
|