userinfo_update.go 501 B

12345678910111213141516171819
  1. package http_model
  2. type UpdateUserInfoRequest struct {
  3. Username string `json:"username"` // 用户名称
  4. BusinessName string `json:"business_name"` // 企业名称
  5. Email string `json:"email"` // 电子邮件
  6. }
  7. type UpdateUserInfoData struct {
  8. }
  9. func NewUpdateUserInfoRequest() *UpdateUserInfoRequest {
  10. return new(UpdateUserInfoRequest)
  11. }
  12. func NewUpdateUserInfoResponse() *CommonResponse {
  13. resp := new(CommonResponse)
  14. resp.Data = new(UpdateUserInfoData)
  15. return resp
  16. }