perm-api-test.yaml 534 B

1234567891011121314151617181920212223
  1. Name: perm-api
  2. Host: 0.0.0.0
  3. Port: 10001
  4. RpcServerConf:
  5. ListenOn: 0.0.0.0:10002
  6. MySQL:
  7. DataSource: "root:NsDmWyM@312@tcp(127.0.0.1:3306)/perms_system?charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai"
  8. CacheRedis:
  9. Nodes:
  10. - Host: 127.0.0.1:6379
  11. Pass: "NsDmWyM@312"
  12. Type: node
  13. KeyPrefix: "PermsSystem"
  14. Auth:
  15. AccessSecret: "1b037598ed19541cc375a67727f4dc1d"
  16. AccessExpire: 7200
  17. RefreshSecret: "cbf9b9cfc6516a50e737f580d8e51310"
  18. RefreshExpire: 604800
  19. ManagementKey: "1f63927367bd65aaca2bce0247e40b52"