[Update] Payload staff sync data

This commit is contained in:
trunglt251292 2022-05-26 21:33:30 +07:00
parent 97147e9095
commit 7dd77f3e31
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ type Config struct {
type StaffCheckPermissionBody struct {
StaffID string `json:"staffId"`
Token string `json:"token"`
Permission string `json:"permission"`
Permission []string `json:"permission"`
Action string `json:"action"`
Source string `json:"source"`
Code string `json:"code,omitempty"`
Payload PayloadCheckPermission `json:"payload"`