|
|
@@ -106,9 +106,9 @@ const gCommonHeaders = {
|
|
|
let gPageData = {};
|
|
|
|
|
|
// 忽略执行的本地领券状态
|
|
|
-let gIgnoreCouponGotStatus = false;
|
|
|
+let gIgnoreCouponGotStatus = true;
|
|
|
// 忽略查询的领券状态
|
|
|
-let gIgnoreActivityStatus = false;;
|
|
|
+let gIgnoreActivityStatus = true;;
|
|
|
|
|
|
async function Main() {
|
|
|
if (magicJS.isStrictRequest) {
|
|
|
@@ -659,6 +659,12 @@ async function tryGrabCoupon() {
|
|
|
// magicJS.notification.appendNotifyInfo(ret.responseMsg);
|
|
|
break;
|
|
|
}
|
|
|
+ if (ret.data) {
|
|
|
+ let activityData = ret.data.activityData;
|
|
|
+ if (activityData) {
|
|
|
+ sk925Names[i] = activityData.activityName;
|
|
|
+ }
|
|
|
+ }
|
|
|
if (ret.responseCode == '000000') {
|
|
|
setActCouponStatus(config.activityCode, 1);
|
|
|
} else if (ret.responseCode == '950008' || ret.responseCode == '900745' || ret.responseCode == '950009') {//领奖机会已经用完
|
|
|
@@ -713,6 +719,12 @@ async function tryGrabCoupon() {
|
|
|
magicJS.notification.appendNotifyInfo(ret.responseMsg);
|
|
|
break;
|
|
|
}
|
|
|
+ if (ret.data) {
|
|
|
+ let activityData = ret.data.activityData;
|
|
|
+ if (activityData) {
|
|
|
+ sk88Names[i] = activityData.activityName;
|
|
|
+ }
|
|
|
+ }
|
|
|
if (ret.responseCode == '000000') {
|
|
|
setActCouponStatus(config.activityCode, 1);
|
|
|
} else if (ret.responseCode == '950008' || ret.responseCode == '900745' || ret.responseCode == '950009') {//领奖机会已经用完
|
|
|
@@ -754,6 +766,12 @@ async function tryGrabCoupon() {
|
|
|
magicJS.notification.appendNotifyInfo(ret.responseMsg);
|
|
|
break;
|
|
|
}
|
|
|
+ if (ret.data) {
|
|
|
+ let activityData = ret.data.activityData;
|
|
|
+ if (activityData) {
|
|
|
+ sk55Names[i] = activityData.activityName;
|
|
|
+ }
|
|
|
+ }
|
|
|
if (ret.responseCode == '000000') {
|
|
|
setActCouponStatus(config.activityCode, 1);
|
|
|
} else if (ret.responseCode == '950008' || ret.responseCode == '900745' || ret.responseCode == '950009') {//领奖机会已经用完
|