No Description

SecretGetRequest.php 639B

123456789101112131415161718192021222324252627282930313233343536
  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. }