TopSdkFeedbackUploadRequest.php 997 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. /**
  3. * TOP API: taobao.top.sdk.feedback.upload request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2016.08.19
  7. */
  8. class TopSdkFeedbackUploadRequest
  9. {
  10. /**
  11. * 具体内容,json形式
  12. **/
  13. private $content;
  14. /**
  15. * 1、回传加密信息
  16. **/
  17. private $type;
  18. private $apiParas = array();
  19. public function setContent($content)
  20. {
  21. $this->content = $content;
  22. $this->apiParas["content"] = $content;
  23. }
  24. public function getContent()
  25. {
  26. return $this->content;
  27. }
  28. public function setType($type)
  29. {
  30. $this->type = $type;
  31. $this->apiParas["type"] = $type;
  32. }
  33. public function getType()
  34. {
  35. return $this->type;
  36. }
  37. public function getApiMethodName()
  38. {
  39. return "taobao.top.sdk.feedback.upload";
  40. }
  41. public function getApiParas()
  42. {
  43. return $this->apiParas;
  44. }
  45. public function check()
  46. {
  47. }
  48. public function putOtherTextParam($key, $value) {
  49. $this->apiParas[$key] = $value;
  50. $this->$key = $value;
  51. }
  52. }