package http_model type SendCodeRequest struct { UserPhone string `json:"user_phone"` } type SendCodeData struct { UserPhone string `json:"user_phone"` } func NewSendCodeRequest() *SendCodeRequest { return new(SendCodeRequest) } func NewSendCodeResponse() *CommonResponse { resp := new(CommonResponse) resp.Data = new(SendCodeData) return resp }