shop-php/extend/taobao/security/SecretGetRequest.php
2024-01-26 09:39:36 +08:00

36 lines
639 B
PHP
Executable File

<?php
class TopSecretGetRequest
{
private $apiParas = array();
public function getApiMethodName()
{
return "taobao.top.secret.get";
}
public function getApiParas()
{
return $this->apiParas;
}
public function setRandomNum($random){
$this->apiParas['random_num'] = $random;
}
public function setCustomerUserId($customId){
$this->apiParas['customer_user_id'] = $customId;
}
public function setSecretVersion($version){
$this->apiParas['secret_version'] = $version;
}
public function check(){}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}