pigx-upms-dev.yml 815 B

12345678910111213141516171819202122232425262728293031
  1. ## spring security 配置
  2. security:
  3. oauth2:
  4. client:
  5. client-id: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
  6. client-secret: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
  7. scope: server
  8. # 数据源
  9. spring:
  10. datasource:
  11. type: com.zaxxer.hikari.HikariDataSource
  12. driver-class-name: com.mysql.jdbc.Driver
  13. username: root
  14. password: root
  15. url: jdbc:mysql://127.0.0.1:3306/pigx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
  16. # mybaits 模块配置
  17. mybatis-plus:
  18. typeAliasesPackage: com.pig4cloud.pigx.admin.api.entity
  19. # swagger相关配置,覆盖全局配置
  20. swagger:
  21. authorization:
  22. authorization-scope-list:
  23. - scope: 'server'
  24. description: 'server all'
  25. - scope: 'read'
  26. description: 'read all'
  27. - scope: 'write'
  28. description: 'access all'