(fid, body = '{}')
| 359 | } |
| 360 | |
| 361 | function 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 | |
| 368 | function genRadomms() { |
| 369 | const max = $.VAL_radommsMax * 1 |
no outgoing calls
no test coverage detected