...
|
...
|
@@ -245,7 +245,7 @@ export function fetchResourceInfo() { |
|
|
|
|
|
export function fetchCouponInfo(orderCode, lackNum) {
|
|
|
return (dispatch, getState) => {
|
|
|
let {app: {host}, groupPurchaseDetail: {}} = getState();
|
|
|
let {app: {host}} = getState();
|
|
|
|
|
|
let fetchCouponInfo = (orderCode ,uid) => {
|
|
|
dispatch(couponInfoRequest());
|
...
|
...
|
@@ -259,7 +259,9 @@ export function fetchCouponInfo(orderCode, lackNum) { |
|
|
}
|
|
|
})
|
|
|
.catch(error => {
|
|
|
if (lackNum != 0) {
|
|
|
dispatch(showShareView(true));
|
|
|
}
|
|
|
dispatch(couponInfoFailure(error));
|
|
|
});
|
|
|
};
|
...
|
...
|
|