send_code_t.go 343 B

12345678910111213141516171819
  1. package http_model
  2. type SendCodeTRequest struct {
  3. Phone string `json:"phone"`
  4. }
  5. type SendCodeTData struct {
  6. Code string `json:"code"`
  7. }
  8. func NewSendCodeTRequest() *SendCodeTRequest {
  9. return new(SendCodeTRequest)
  10. }
  11. func NewSendCodeTResponse() *CommonResponse {
  12. resp := new(CommonResponse)
  13. resp.Data = new(SendCodeTData)
  14. return resp
  15. }