feat: rbac迁移完成,并已部署至dev服务器

This commit is contained in:
Blizzard
2026-05-01 01:19:50 +08:00
parent f80a3dc064
commit 8b11068fef
250 changed files with 6314 additions and 13072 deletions
+13 -1
View File
@@ -1,6 +1,9 @@
package config
import "github.com/zeromicro/go-zero/rest"
import (
"github.com/zeromicro/go-zero/rest"
"github.com/zeromicro/go-zero/zrpc"
)
type Config struct {
rest.RestConf
@@ -13,6 +16,15 @@ type Config struct {
}
Upstreams []Upstream
// system-rpc 连接(用于写入操作日志)
SystemRpc zrpc.RpcClientConf
// JWT 密钥(用于解析 Token 获取 userId,与 user-api 的 Auth.AccessSecret 保持一致)
JwtSecret string `json:",optional"`
// 无需鉴权的路径白名单
AuthWhitelist []string `json:",optional"`
}
type Upstream struct {