V1 #1
|
@ -51,6 +51,14 @@ type StaffCheckPermissionBody struct {
|
||||||
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"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// PayloadCheckPermission ...
|
||||||
|
type PayloadCheckPermission struct {
|
||||||
|
URL string `json:"url"`
|
||||||
|
Body string `json:"body"`
|
||||||
|
Method string `json:"method"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StaffCheckPermissionResponse ...
|
// StaffCheckPermissionResponse ...
|
||||||
|
|
Loading…
Reference in New Issue