feat: get user/staff profile
This commit is contained in:
@@ -21,6 +21,12 @@ type RegisterStaffReq struct {
|
||||
Username string `json:"username" validate:"required"`
|
||||
}
|
||||
|
||||
type UpdateStaffReq struct {
|
||||
Email string `json:"email"`
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
|
||||
type Staff struct {
|
||||
ID string `json:"id"`
|
||||
Email string `json:"email"`
|
||||
|
||||
Reference in New Issue
Block a user