|
|
@@ -233,11 +233,11 @@ async function itemBuyNormal(activityId, subActivityId, subLoginType, awardData)
|
|
|
let theActData = await getActivityData(activityId, eventVisitorId);
|
|
|
let desInfo = await getDesDecodeInfo(activityId, eventVisitorId);
|
|
|
let cateActType = subLoginType;
|
|
|
- // if(desInfo){
|
|
|
- // if(desInfo.code == '5'){
|
|
|
- // cateActType = 'subChoose';
|
|
|
- // }
|
|
|
- // }
|
|
|
+ if(desInfo){
|
|
|
+ if(desInfo.code != '0'){//5=已享这周首单优惠 7=人数过多稍后重试
|
|
|
+ cateActType = 'subChoose';
|
|
|
+ }
|
|
|
+ }
|
|
|
for(let i=0; i < actDataList.length; i++){
|
|
|
const actData = actDataList[i];
|
|
|
// 'choose' 'subChoose' 'subPre' 'subShare'
|