网关重启时恢复权限与分配数据

This commit is contained in:
2025-05-26 10:55:44 +08:00
parent 52907b3fae
commit 8c928a8321
5 changed files with 18 additions and 8 deletions

View File

@@ -8,3 +8,8 @@ type Permit struct {
Username *string `json:"username"`
Password *string `json:"password"`
}
type PermitDef struct {
Id int32 `json:"id"`
Permit
}