...
|
...
|
@@ -921,7 +921,7 @@ export function getCouponSuccess(list) { |
|
|
export function couponHasRecived() {
|
|
|
return {
|
|
|
type: ADD_COUPON_FAILURE,
|
|
|
payload: ' 优惠券已领取 '
|
|
|
payload: ' 优惠券已经领取 '
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -975,6 +975,7 @@ export function getCoupon(couponId) { |
|
|
.catch(error => {
|
|
|
ReactNative.NativeModules.YH_CommonHelper.login()
|
|
|
.then(uid => {
|
|
|
dispatch(getShopCouponList());
|
|
|
couponRequest(uid, couponId);
|
|
|
})
|
|
|
.catch(error => {
|
...
|
...
|
|