...
|
...
|
@@ -52,13 +52,20 @@ class DetailData |
|
|
* 商品尺码信息
|
|
|
*
|
|
|
* @param int $productSkn 商品SKN号
|
|
|
* @param int $uid 用户ID
|
|
|
* @param int $udid 客户端唯一标识
|
|
|
* @return array
|
|
|
*/
|
|
|
public static function sizeInfo($productSkn)
|
|
|
public static function sizeInfo($productSkn, $uid, $udid)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
$param['method'] = 'h5.product.intro';
|
|
|
$param['productskn'] = $productSkn;
|
|
|
if (!empty($uid)) {
|
|
|
$param['uid'] = $uid;
|
|
|
}
|
|
|
$param['udid'] = $udid;
|
|
|
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
...
|
...
|
|