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