mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-10 21:19:00 +08:00
27 lines
709 B
YAML
27 lines
709 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: Bjyjht2017!@#
|
|
url: jdbc:mysql://114.116.30.176: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
|
|
|