Authored by 郭成尧

获取UID根据环境更改

... ... @@ -29,8 +29,12 @@ class CouponController extends AbstractAction
'code' => FILTER_DEFAULT
));
$result = array();
$uid = $this->getUid();
$uid = '';
if($this->isApp()){
$uid = $this->get('uid');
}else{
$uid = $this->getUid();
}
$resource = CouponData::getCouponRousource($receiveData['code'], $uid);
if (isset($resource['code']) && $resource['code'] == 200) {
$result = CouponFloorProcess::getContent($resource['data']);
... ...