diff --git a/struct.go b/struct.go index 6335567..158a355 100644 --- a/struct.go +++ b/struct.go @@ -30,11 +30,12 @@ type Config struct { // StaffCheckPermissionBody ... type StaffCheckPermissionBody struct { StaffID string `json:"staffId"` + Token string `json:"token"` Permission string `json:"permission"` Source string `json:"source"` Code string `json:"code,omitempty"` Payload PayloadCheckPermission `json:"payload"` - IsRoot bool `json:"isRoot"` + IsRoot string `json:"isRoot"` } // PayloadCheckPermission ...