|
@@ -58,10 +58,10 @@ Page({
|
|
|
})
|
|
|
return false;
|
|
|
}
|
|
|
- //if(res.data.data.groupPurchaseOrder.status === 'BASE') {
|
|
|
+ if(res.data.data.groupPurchaseOrder.groupType === 'BASE') {
|
|
|
//掉起支付
|
|
|
this.prePayMap(res.data.data.prePayMap, res.data.data.groupPurchaseOrderDetail.orderId);
|
|
|
- //}
|
|
|
+ }
|
|
|
|
|
|
}).fail( (error) => {
|
|
|
|
|
@@ -88,7 +88,7 @@ Page({
|
|
|
return false;
|
|
|
}
|
|
|
//掉起支付
|
|
|
- //this.prePayMap(res.data.data.prePayMap, res.data.data.orderId);
|
|
|
+ this.prePayMap(res.data.data.prePayMap, res.data.data.orderId);
|
|
|
}).fail( (error) => {
|
|
|
|
|
|
})
|
|
@@ -261,7 +261,7 @@ Page({
|
|
|
orderId
|
|
|
})
|
|
|
//课本详情
|
|
|
- httpRequestApi.getBookDetail(wx.getStorageSync('uid'),productId).success( (res) =>{
|
|
|
+ httpRequestApi.getBookDetail(wx.getStorageSync('uid'), productId).success( (res) =>{
|
|
|
console.log('课本详情',res.data.data);
|
|
|
const bookInfo = res.data.data.product;
|
|
|
const lessonList = res.data.data.lessonList;
|