Authored by 周奇琪

Merge branch 'gray' into 'master'

'coupon-send'

会员日领券去除签名验证

See merge request !1
... ... @@ -158,6 +158,7 @@ class CouponController extends AbstractAction
$result = CouponModel::couponSend($uid, $token, $app);
$this->helpJsonCallbackResult($callback, $result['code'], $result['message'], $result['data']);
$this->helpJsonCallbackResult($callback, $result['code'], $result['message'],
isset($result['data']) ? $result['data'] : null);
}
}
... ...
... ... @@ -32,7 +32,7 @@ class CouponModel
do {
// APP时用参数中的ID
if (self::checkApp($app)) {
if (!$uid || empty($uid)) {
$uid = isset($app['uid']) ? $app['uid'] : 0;
}
... ...