Authored by hf

code review by hf: fixes bug to coupon newuser second times

... ... @@ -632,9 +632,9 @@ class CouponController extends HuodongAction
}
/* 判断用户是否登录 */
$uid = $this->getSession(self::SESSION_UID);
$uid = $this->getUid();
if (!$uid) {
$uid = $this->getUid();
$uid = $this->getSession(self::SESSION_UID);
if (!$uid) {
$result['code'] = 400;
$result['message'] = '请先登录';
... ...