V1 #1

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

View File

@ -51,6 +51,14 @@ type StaffCheckPermissionBody struct {
Permission string `json:"permission"`
Source string `json:"source"`
Code string `json:"code,omitempty"`
Payload PayloadCheckPermission `json:"payload"`
}
// PayloadCheckPermission ...
type PayloadCheckPermission struct {
URL string `json:"url"`
Body string `json:"body"`
Method string `json:"method"`
}
// StaffCheckPermissionResponse ...