feat: rbac迁移完成,并已部署至dev服务器
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/zeromicro/go-zero/rest"
|
||||
"github.com/zeromicro/go-zero/zrpc"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
rest.RestConf
|
||||
Auth struct {
|
||||
AccessSecret string
|
||||
AccessExpire int64
|
||||
}
|
||||
SystemRpc zrpc.RpcClientConf
|
||||
Redis struct {
|
||||
Host string
|
||||
Pass string
|
||||
DB int `json:",optional"`
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user