[Update] Payload staff sync data

This commit is contained in:
trunglt251292 2022-05-26 10:25:43 +07:00
parent f79d7d53b1
commit 97147e9095
1 changed files with 2 additions and 1 deletions

View File

@ -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 ...