From 5f0170df9787c6f3ff17cc168b3f2e3f511453f6 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 31 十月 2023 20:04:16 +0800
Subject: [PATCH] 支持职级降级的情况
---
model/request/authority.go | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/model/request/authority.go b/model/request/authority.go
index 287f7b6..678ca34 100644
--- a/model/request/authority.go
+++ b/model/request/authority.go
@@ -1,7 +1,8 @@
package request
type AddAuthority struct {
- AuthorityName string `json:"authorityName"`
+ AuthorityName string `json:"authorityName"`
+ CasbinInfos []CasbinInfo `json:"casbinInfos"`
}
type SetAuthorityMenu struct {
--
Gitblit v1.8.0