MCPcopy Create free account
hub / github.com/Semporia/Scripts / strollMember

Function strollMember

jd_mohe.js:348–364  ·  view source on GitHub ↗
(venderId)

Source from the content-addressed store, hash-verified

346}
347// 加入会员(7)
348function strollMember(venderId) {
349 return new Promise((resolve) => {
350 const url = `strollMember?venderId=${venderId}&t=${Date.now()}`;
351 $.get(taskurl(url), (err, resp, data) => {
352 try {
353 // console.log('homeGoBrowse', data)
354 data = JSON.parse(data);
355 // console.log('homeGoBrowse', data)
356 // console.log(`成功领取${data.data}热力值`)
357 } catch (e) {
358 $.logErr(e, resp);
359 } finally {
360 resolve(data);
361 }
362 })
363 })
364}
365
366function taskCoin(type) {
367 return new Promise((resolve) => {

Callers

nothing calls this directly

Calls 3

taskurlFunction · 0.70
getMethod · 0.45
logErrMethod · 0.45

Tested by

no test coverage detected