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

Method queryMember

wxapp/junpinhui.js:312–324  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310 }
311
312 async queryMember() {
313 const info = await this.gardenGet("/garden/Gardenmemberinfo/getMemberInfo");
314 this.member = info || {};
315 this.saveCache({
316 memberId: info?.member_id || "",
317 nickName: info?.nick_name || "",
318 integration: info?.integration || "",
319 });
320 $.log(
321 `账号[${this.index}] 会员: ${info?.nick_name || mask(info?.member_id || "")},积分${info?.integration ?? "未知"},水滴${info?.water ?? 0},有机肥${info?.manure ?? 0},种子${info?.sorghum ?? 0}`
322 );
323 return info || {};
324 }
325
326 async dailySign() {
327 try {

Callers 2

runFarmAutomationMethod · 0.95
runMethod · 0.95

Calls 4

gardenGetMethod · 0.95
saveCacheMethod · 0.95
maskFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected