MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / getDxToken

Function getDxToken

wxapp/longfor.js:305–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303}
304
305async function getDxToken() {
306 if (process.env.longfor_dx_token) return process.env.longfor_dx_token;
307 return new MiniDxConstId().generate();
308}
309
310function ok(code) {
311 return ["200", "0000", "10000"].includes(String(code));

Callers 1

signInMethod · 0.85

Calls 1

generateMethod · 0.80

Tested by

no test coverage detected