V1 #1
|
@ -30,11 +30,12 @@ type Config struct {
|
||||||
// StaffCheckPermissionBody ...
|
// StaffCheckPermissionBody ...
|
||||||
type StaffCheckPermissionBody struct {
|
type StaffCheckPermissionBody struct {
|
||||||
StaffID string `json:"staffId"`
|
StaffID string `json:"staffId"`
|
||||||
|
Token string `json:"token"`
|
||||||
Permission string `json:"permission"`
|
Permission string `json:"permission"`
|
||||||
Source string `json:"source"`
|
Source string `json:"source"`
|
||||||
Code string `json:"code,omitempty"`
|
Code string `json:"code,omitempty"`
|
||||||
Payload PayloadCheckPermission `json:"payload"`
|
Payload PayloadCheckPermission `json:"payload"`
|
||||||
IsRoot bool `json:"isRoot"`
|
IsRoot string `json:"isRoot"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PayloadCheckPermission ...
|
// PayloadCheckPermission ...
|
||||||
|
|
Loading…
Reference in New Issue