Authored by 郭成尧

client-id

... ... @@ -40,7 +40,9 @@ class RecomData
$param['page'] = $page;
$param['limit'] = $limit;
$param['yh_channel'] = $channel;
$param['client_id'] = $_COOKIE['_yasvd'];
if (isset($_COOKIE['_yasvd'])) {
$param['client_id'] = $_COOKIE['_yasvd'];
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(API_URL, $param, 300);
... ...