|
php 代码:
$client = new KdtApiClient($appId, $appSecret);
function getTrades($buyer_nick){
global $client;
$method = 'kdt.trades.sold.get';
$params= [
'buyer_nick' => $buyer_nick
];
return $client->post($method,$params);
}
$trades=getTrades($buyer_nick);//$buyer_nick已经获取的,是买家的昵称
var_dump($trades);//查询的结果是全部的,并不是对应买家的信息 |
|
|
|
赞
···
|
|
|