update_user_info.go 464 B

12345678910111213141516171819
  1. package http_model
  2. type UpdateUserInfoRequest struct {
  3. User string `json:"user"`
  4. Username string `json:"username"`
  5. Role string `json:"role"`
  6. Password string `json:"password"`
  7. Email string `json:"email"`
  8. Phone string `json:"phone"`
  9. }
  10. func NewUpdateUserInfoRequest() *UpdateUserInfoRequest {
  11. return new(UpdateUserInfoRequest)
  12. }
  13. func NewUpdateUserInfoResponse() *CommonResponse {
  14. resp := new(CommonResponse)
  15. return resp
  16. }