userinfo_find.go 607 B

123456789101112131415161718192021
  1. package http_model
  2. type FindUserInfoRequest struct {
  3. }
  4. type FindUserInfoData struct {
  5. ID string `json:"id"` // 用户表id
  6. Phone string `json:"phone"` // 绑定手机
  7. Username string `json:"username"` // 用户名称
  8. BusinessName string `json:"business_name"` // 企业名称
  9. Email string `json:"email"` // 电子邮件
  10. }
  11. func NewFindUserInfoRequest() *FindUserInfoRequest {
  12. return new(FindUserInfoRequest)
  13. }
  14. func NewFindUserInfoResponse() *CommonResponse {
  15. resp := new(CommonResponse)
  16. resp.Data = new(FindUserInfoData)
  17. return resp
  18. }