V1 #1

Merged
trunglt251292 merged 13 commits from v1 into master 2022-05-31 03:35:14 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 97147e9095 - Show all commits

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