...
|
...
|
@@ -67,7 +67,7 @@ class DetailData |
|
|
public static function consultList($productId, $pageNum, $pageSize)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
$param['method'] = 'app.comment.li';
|
|
|
$param['method'] = 'h5.consult.li';
|
|
|
$param['product_id'] = $productId;
|
|
|
$param['page'] = $pageNum;
|
|
|
$param['limit'] = $pageSize;
|
...
|
...
|
@@ -87,7 +87,15 @@ class DetailData |
|
|
*/
|
|
|
public static function commentList($productId, $pageNum, $pageSize)
|
|
|
{
|
|
|
// 暂未提供提口
|
|
|
$param = Yohobuy::param();
|
|
|
$param['method'] = 'app.comment.li';
|
|
|
$param['product_id'] = $productId;
|
|
|
$param['page'] = $pageNum;
|
|
|
$param['limit'] = $pageSize;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|