Update permission #4

Merged
trunglt251292 merged 8 commits from update-permission into master 2022-07-01 02:26:53 +00:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 1e02009620 - Show all commits

View File

@ -30,7 +30,7 @@ func (Request) UpdateStaff(payload Staff) (*Response, error) {
}
// GetInfoStaff ...
func (Request) GetInfoStaff(payload *CommonQuery) (*Response, error) {
func (Request) GetInfoStaff(payload GetInfoStaff) (*Response, error) {
return requestNats(SubjectRequestNatsStaffGetInfo, toBytes(payload))
}

View File

@ -14,6 +14,11 @@ type CommonQuery struct {
StaffID string `json:"staffID"`
}
// GetInfoStaff ...
type GetInfoStaff struct {
Condition interface{} `json:"condition"`
}
// Log ...
type Log struct {
Reference string `json:"reference"`