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

Function get_diff_time

jd_joy_reward.js:369–373  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367 })
368}
369async function get_diff_time() {
370 // console.log(`本机时间戳 ${Date.now()}`)
371 // console.log(`京东服务器时间戳 ${await getJDServerTime()}`)
372 return Date.now() - await getJDServerTime();
373}
374function jsonParse(str) {
375 if (typeof str == "string") {
376 try {

Callers

nothing calls this directly

Calls 1

getJDServerTimeFunction · 0.85

Tested by

no test coverage detected