2db47680
hexiaodong
chore: 初始提交 php 遗...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<?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;
}
}
|