TestRpcApiRequest.php 804 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: zhangw
  5. * Date: 2017/12/19
  6. * Time: 下午6:39
  7. */
  8. namespace UnitTest\Ft;
  9. class TestRpcApiRequest extends \RpcAcsRequest
  10. {
  11. public function __construct()
  12. {
  13. parent::__construct("Ft", "2016-01-01", "TestRpcApi");
  14. }
  15. private $queryParam;
  16. private $bodyParam;
  17. public function getQueryParam()
  18. {
  19. return $this->queryParam;
  20. }
  21. public function setQueryParam($queryParam)
  22. {
  23. $this->queryParam = $queryParam;
  24. $this->queryParameters["QueryParam"]=$queryParam;
  25. }
  26. public function getBodyParam()
  27. {
  28. return $this->bodyParam;
  29. }
  30. public function setBodyParam($bodyParam)
  31. {
  32. $this->bodyParam = $bodyParam;
  33. $this->queryParameters["BodyParam"]=$bodyParam;
  34. }
  35. }