master
标哥丶 2022-03-21 12:16:21 +08:00
parent 7c68b503db
commit 53f026457a
1 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ async function takePostRequest(type) {
case 'followShop': case 'followShop':
url = `${domain}/dingzhi/womenWear/union/saveTask`; url = `${domain}/dingzhi/womenWear/union/saveTask`;
// url = `${domain}/dingzhi/dz/openCard/saveTask`; // url = `${domain}/dingzhi/dz/openCard/saveTask`;
body = `activityId=${$.activityId}&pin=${encodeURIComponent($.Pin)}&actorUuid=${$.actorUuid}` body = `activityId=${$.activityId}&pin=${encodeURIComponent($.Pin)}&actorUuid=${$.actorUuid}&taskType=23&taskValue=1&`
break; break;
case 'sign': case 'sign':
case 'addCart': case 'addCart':
@ -433,7 +433,7 @@ async function dealReturn(type, data) {
$.addSku = res.data.skuAddCart || false $.addSku = res.data.skuAddCart || false
$.actorUuid = res.data.actorUuid || '' $.actorUuid = res.data.actorUuid || ''
$.followShop = res.data.allFollowShop || '' $.followShop = res.data.allFollowShop || ''
$.signStatus = res.data.signStatus || false $.signStatus = res.data.skuVisitStatus || false
}else if(res.errorMessage){ }else if(res.errorMessage){
console.log(`${type} ${res.errorMessage || ''}`) console.log(`${type} ${res.errorMessage || ''}`)
}else{ }else{