SecretGetRequest.php 674 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. class TopSecretGetRequest
  3. {
  4. private $apiParas = array();
  5. public function getApiMethodName()
  6. {
  7. return "taobao.top.secret.get";
  8. }
  9. public function getApiParas()
  10. {
  11. return $this->apiParas;
  12. }
  13. public function setRandomNum($random){
  14. $this->apiParas['random_num'] = $random;
  15. }
  16. public function setCustomerUserId($customId){
  17. $this->apiParas['customer_user_id'] = $customId;
  18. }
  19. public function setSecretVersion($version){
  20. $this->apiParas['secret_version'] = $version;
  21. }
  22. public function check(){}
  23. public function putOtherTextParam($key, $value) {
  24. $this->apiParas[$key] = $value;
  25. $this->$key = $value;
  26. }
  27. }