25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

37 satır
891 B

  1. package apk
  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 RefreshApkRequest struct {
  7. *requests.RpcRequest
  8. cdnUrls string `position:"Body" field:"cdn_urls" default:"[]" `
  9. CdnUrlArray []string
  10. }
  11. type RefreshApkResponse struct {
  12. *responses.BaseResponse
  13. Code int `json:"code"`
  14. Status bool `json:"status"`
  15. Msg string `json:"msg"`
  16. Data map[string]string `json:"data"`
  17. }
  18. func CreateRefreshApkRequest() (req *RefreshApkRequest) {
  19. req = &RefreshApkRequest{
  20. RpcRequest: &requests.RpcRequest{},
  21. }
  22. req.InitWithApiInfo(HOST, VERSION, "/api/apk/refresh")
  23. req.Method = requests.POST
  24. return
  25. }
  26. func CreateRefreshApkResponse() (response *RefreshApkResponse) {
  27. response = &RefreshApkResponse{
  28. BaseResponse: &responses.BaseResponse{},
  29. }
  30. return
  31. }