(data)
| 1467 | }) |
| 1468 | } |
| 1469 | function safeGet(data) { |
| 1470 | try { |
| 1471 | if (typeof JSON.parse(data) == "object") { |
| 1472 | return true; |
| 1473 | } |
| 1474 | } catch (e) { |
| 1475 | console.log(e); |
| 1476 | console.log(`京东服务器访问数据为空,请检查自身设备网络情况`); |
| 1477 | return false; |
| 1478 | } |
| 1479 | } |
| 1480 | function taskTuanUrl(functionId, body = '', stk) { |
| 1481 | let url = `https://m.jingxi.com/dreamfactory/tuan/${functionId}?${body}&_time=${Date.now()}&_=${Date.now() + 2}&sceneval=2&g_login_type=1&_ste=1` |
| 1482 | url += `&h5st=${decrypt(Date.now(), stk || '', '', url)}` |
no test coverage detected