12345678910111213141516171819202122232425262728293031 |
- ## spring security 配置
- security:
- oauth2:
- client:
- client-id: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
- client-secret: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
- 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
- # mybaits 模块配置
- mybatis-plus:
- typeAliasesPackage: com.pig4cloud.pigx.admin.api.entity
- # swagger相关配置,覆盖全局配置
- swagger:
- authorization:
- authorization-scope-list:
- - scope: 'server'
- description: 'server all'
- - scope: 'read'
- description: 'read all'
- - scope: 'write'
- description: 'access all'
|