Authored by hf

do modify to call coupon api check is login

... ... @@ -18,7 +18,6 @@ use Api\Yohobuy;
class CouponController extends AbstractAction
{
/* 用户会话ID */
const SESSION_UID = 'coupon_uid';
/**
... ... @@ -426,6 +425,7 @@ class CouponController extends AbstractAction
$result['code'] = 400;
$result['message'] = '请先登录';
$result['data'] = Helpers::url('/signin.html', array('refer' => $this->server('HTTP_REFERER', '/')));
break;
}
}
... ... @@ -467,6 +467,7 @@ class CouponController extends AbstractAction
$result['code'] = 400;
$result['message'] = '请先登录';
$result['data'] = Helpers::url('/signin.html', array('refer' => $this->server('HTTP_REFERER', '/')));
break;
}
}
... ...