Authored by 张文文

Merge branch 'V6.9.7' of http://git.yoho.cn/mobile/YH_RNComponent into V6.9.7

... ... @@ -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));
});
};
... ...