You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
810 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 AddApkRequest struct {
  7. *requests.RpcRequest
  8. List string `position:"Body" field:"list" default:"[]" `
  9. }
  10. type AddApkResponse struct {
  11. *responses.BaseResponse
  12. Code int `json:"code"`
  13. Status bool `json:"status"`
  14. Msg string `json:"msg"`
  15. Data struct {
  16. Count int `json:"count"`
  17. } `json:"data"`
  18. }
  19. func CreateAddApkRequest() (req *AddApkRequest) {
  20. req = &AddApkRequest{
  21. RpcRequest: &requests.RpcRequest{},
  22. }
  23. req.InitWithApiInfo(HOST, VERSION, "/api/apk/add")
  24. req.Method = requests.POST
  25. return
  26. }
  27. func CreateAddApkResponse() (response *AddApkResponse) {
  28. response = &AddApkResponse{
  29. BaseResponse: &responses.BaseResponse{},
  30. }
  31. return
  32. }