[Update] Payload staff sync data
This commit is contained in:
parent
f79d7d53b1
commit
97147e9095
|
@ -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