send_code.go 308 B

1234567891011121314151617
  1. package http_model
  2. type SendCodeRequest struct {
  3. Phone string `json:"phone"`
  4. }
  5. type SendCodeData struct {
  6. }
  7. func NewSendCodeRequest() *SendCodeRequest {
  8. return new(SendCodeRequest)
  9. }
  10. func NewSendCodeResponse() *CommonResponse {
  11. resp := new(CommonResponse)
  12. resp.Data = new(SendCodeData)
  13. return resp
  14. }