mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-10 21:19:00 +08:00
27 lines
642 B
YAML
27 lines
642 B
YAML
## spring security 配置
|
|
security:
|
|
oauth2:
|
|
client:
|
|
client-id: gen
|
|
client-secret: gen
|
|
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
|
|
|