| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- Name: perm-api
- Host: 0.0.0.0
- Port: 10001
- RpcServerConf:
- Name: perm-rpc
- ListenOn: 0.0.0.0:10002
- MySQL:
- DataSource: "root:NsDmWyM@312@tcp(127.0.0.1:3306)/perms_system?charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai"
- CacheRedis:
- Nodes:
- - Host: 127.0.0.1:6379
- Pass: "NsDmWyM@312"
- Type: node
- KeyPrefix: "PermsSystem"
- Auth:
- AccessSecret: "1b037598ed19541cc375a67727f4dc1d"
- AccessExpire: 7200
- RefreshSecret: "cbf9b9cfc6516a50e737f580d8e51310"
- RefreshExpire: 604800
- ManagementKey: "1f63927367bd65aaca2bce0247e40b52"
- # cap.js 人机验证配置(可选)
- # Enable: 1 启用 cap.js 验证,0 或不配置则使用图片验证码
- # EndpointURL: cap.js 服务地址(不含 key,如 https://cap.example.com)
- # Key: cap.js site key
- # Secret: cap.js site secret(服务端 siteverify 使用)
- Capjs:
- Enable: 1
- EndpointURL: "https://cap.znomo.com"
- Key: "c1c9be8c3f"
- Secret: "chC9e2jTTtPCxNv8gBFa18DjpkpUoQc706dZCLZ4nc1LZGQGpZLw"
- Minio:
- Name: "minio-perms"
- AccessKeyId: "jP0ykUhzxqFSc2nJPHk3"
- AccessKeySecret: "L2DIfYcqtChyDDL9vTI7ixiPtpS2TCtg5NPHgyIv"
- Endpoint: "minioapi.fkey.win"
- Domain: "https://res.fkey.win"
- UseSSL: true
- FileType:
- avatar:
- Bucket: "perms-system"
- Dir: "avatar/{yyyy}/{mm}/{dd}"
- AllowedContentTypes:
- - "image/jpeg"
- - "image/png"
- - "image/gif"
- - "image/webp"
|