25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
914 B

  1. package jedi
  2. import (
  3. "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests"
  4. "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses"
  5. )
  6. type SendSmsRequest struct {
  7. *requests.HttpRequest
  8. User string `position:"Query" name:"User" default:""`
  9. Code string `position:"Query" name:"Code" default:"-"`
  10. Params string `position:"Query" name:"Prams" default:"-"`
  11. }
  12. type SendSmsResponseData struct {
  13. Account string `json:"account"`
  14. Createtime int64 `json:"createtime"`
  15. }
  16. type SendSmsResponse struct {
  17. *responses.BaseResponse
  18. Data SendSmsResponseData `json:"data"`
  19. }
  20. func CreateSendSmsRequest() (req *SendSmsRequest) {
  21. req = &SendSmsRequest{
  22. HttpRequest: &requests.HttpRequest{},
  23. }
  24. req.InitWithApiInfo(HOST, VERSION, "/api/sms/send")
  25. return
  26. }
  27. func CreateSendSmsResponse() (response *SendSmsResponse) {
  28. response = &SendSmsResponse{
  29. BaseResponse: &responses.BaseResponse{},
  30. }
  31. return
  32. }