Authored by 郭成尧

uid处理

... ... @@ -26,7 +26,9 @@ class CouponData
$param = Yohobuy::param();
$param['method'] = 'app.promotion.queryCouponCenter';
$param['contentCode'] = $contentCode;
if (!empty($uid) && $uid !== '' && $uid !== null) {
$param['uid'] = $uid;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
... ...