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

Function strollShop

jd_mohe.js:330–346  ·  view source on GitHub ↗
(shopId)

Source from the content-addressed store, hash-verified

328}
329//关注或浏览店铺(9个)
330function strollShop(shopId) {
331 return new Promise((resolve) => {
332 const url = `strollShop?shopId=${shopId}&t=${Date.now()}`;
333 $.get(taskurl(url), (err, resp, data) => {
334 try {
335 // console.log('homeGoBrowse', data)
336 data = JSON.parse(data);
337 // console.log('homeGoBrowse', data)
338 // console.log(`成功领取${data.data}热力值`)
339 } catch (e) {
340 $.logErr(e, resp);
341 } finally {
342 resolve(data);
343 }
344 })
345 })
346}
347// 加入会员(7)
348function strollMember(venderId) {
349 return new Promise((resolve) => {

Callers 1

taskListFunction · 0.85

Calls 3

taskurlFunction · 0.70
getMethod · 0.45
logErrMethod · 0.45

Tested by

no test coverage detected