MCPcopy Create free account
hub / github.com/chavyleung/scripts / taskurl

Function taskurl

jd/jd.618.js:361–366  ·  view source on GitHub ↗
(fid, body = '{}')

Source from the content-addressed store, hash-verified

359}
360
361function taskurl(fid, body = '{}') {
362 const url = { url: `https://api.m.jd.com/client.action` }
363 url.headers = JSON.parse($.VAL_headers)
364 url.body = `functionId=${fid}&body=${body}&client=wh5&clientVersion=1.0.0`
365 return url
366}
367
368function genRadomms() {
369 const max = $.VAL_radommsMax * 1

Callers 7

getDataFunction · 0.70
getShopsFunction · 0.70
getActsFunction · 0.70
getProdActFunction · 0.70
sendtaskFunction · 0.70
signshopFunction · 0.70
brandAwardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected