package jedi import ( "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" ) type SendSmsRequest struct { *requests.HttpRequest User string `position:"Query" field:"user" default:"-" ` Code string `position:"Query" field:"code" default:"-" ` Params string `position:"Query" field:"params" default:"-" ` Test string `position:"Body" field:"test" default:"-" ` } type SendSmsResponseData struct { Account string `json:"account"` Createtime int64 `json:"createtime"` } type SendSmsResponse struct { *responses.BaseResponse Data SendSmsResponseData `json:"data"` } func CreateSendSmsRequest() (req *SendSmsRequest) { req = &SendSmsRequest{ HttpRequest: &requests.HttpRequest{}, } req.InitWithApiInfo(HOST, VERSION, "/api/sms/send") req.Method = requests.POST req.Scheme = requests.HTTP return } func CreateSendSmsResponse() (response *SendSmsResponse) { response = &SendSmsResponse{ BaseResponse: &responses.BaseResponse{}, } return }