|
@@ -158,6 +158,7 @@ class CouponController extends AbstractAction |
|
@@ -158,6 +158,7 @@ class CouponController extends AbstractAction |
158
|
|
158
|
|
159
|
$result = CouponModel::couponSend($uid, $token, $app);
|
159
|
$result = CouponModel::couponSend($uid, $token, $app);
|
160
|
|
160
|
|
161
|
- $this->helpJsonCallbackResult($callback, $result['code'], $result['message'], $result['data']);
|
161
|
+ $this->helpJsonCallbackResult($callback, $result['code'], $result['message'],
|
|
|
162
|
+ isset($result['data']) ? $result['data'] : null);
|
162
|
}
|
163
|
}
|
163
|
} |
164
|
} |