更新日志输出

This commit is contained in:
youfak 2024-11-05 10:30:53 +08:00
parent 23b1b6ab6e
commit 922c7b6aba

11
bear.js
View File

@ -2403,6 +2403,7 @@ class IlIIlIli {
let Il1liii = await this.wxApi("wxDrawActivity/getGiveContent", {
"pin": this.secretPin
});
if (Il1liii && Il1liii?.["data"]) { }
return Il1liii;
}
@ -3208,12 +3209,20 @@ class IlIIlIli {
let lIlll = lIl1ii.load(iiilIlII);
const lii1llli = lIlll("#shop_sid").attr("value"),
l1illi1l = lIlll("#shop_title").attr("value"),
actType = lIlll("#actType").attr("value"),
lIIiI1lI = lIlll("#description").text();
this.debug("shop_sid", lii1llli);
this.shopId = lii1llli;
this.venderId = this.userId;
this.shopName = l1illi1l;
this.rule = lIIiI1lI;
this.buyerSign = lIlll('#buyerSign')?.val() || '';
IlIIlIli.activity.actType = actType
if (this.activityUrl.includes("loadBlindBox")) {
IlIIlIli.activity.prizeList = JSON.parse(lIlll('#jdEquityList').attr("value"));
} else {
IlIIlIli.activity.prizeList = JSON.parse(lIlll('#awards', 'body').text());
}
const IllIll11 = lIlll("title").text();
return IlIIlIli.activity.shopName = this.shopName, IlIIlIli.activity.shopId = this.shopId, IlIIlIli.activity.venderId = this.venderId, await this.getRuleSETime(lIIiI1lI), IllIll11?.["includes"]("已结束") && (this.putMsg("活动已结束"), await this.writeLongCacheByStop(), this.stop()), lIlll;
}
@ -3232,6 +3241,8 @@ class IlIIlIli {
"act_id": this.activityId,
"user_id": this.userId,
...I1illiI
}, {
"buyerSign": this.buyerSign
});
return I1Il1l1I;
}