MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / queryPointInfo

Method queryPointInfo

wxapp/ctrip.js:533–552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531 }
532
533 async queryPointInfo() {
534 const point = await this.h5Model("22769", "getSignInUserBasicInfo", {});
535 if (point.status === 200 && okBusiness(point.data)) {
536 $.log(`账号[${this.index}] 当前会员积分: ${point.data.integratedPoint ?? "未知"}`);
537 } else {
538 $.log(`账号[${this.index}] 会员积分查询失败: ${point.text.slice(0, 500)}`);
539 }
540
541 const yoyo = await this.h5Model("22769", "travelGameUserAccountInfo", {});
542 if (yoyo.status === 200 && okBusiness(yoyo.data)) {
543 const info = yoyo.data.travelGameUserInfoDto || {};
544 const travel = yoyo.data.travelGameUserTravelDto || {};
545 const levelText = info.levelName || (info.level ? `LV${info.level}` : "");
546 $.log(
547 `账号[${this.index}] YOYO信息: ${levelText},${info.titleName || ""},还差${info.needFishCount ?? "未知"}条小鱼升级,旅行状态${travel.travelStatus ?? yoyo.data.travelStatus ?? "未知"}`
548 );
549 } else {
550 $.log(`账号[${this.index}] YOYO信息查询失败: ${yoyo.text.slice(0, 500)}`);
551 }
552 }
553
554 async tryUpgradeAwards() {
555 const awards = [

Callers 1

runMethod · 0.95

Calls 3

h5ModelMethod · 0.95
okBusinessFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected