MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / maskToken

Function maskToken

wxapp/mengxiangjia.js:44–47  ·  view source on GitHub ↗
(token = "")

Source from the content-addressed store, hash-verified

42}
43
44function maskToken(token = "") {
45 const value = String(token || "");
46 return value ? `${value.slice(0, 6)}***${value.slice(-6)}` : "";
47}
48
49function formatSignDate(date = new Date()) {
50 const year = date.getFullYear();

Callers 2

runMethod · 0.70
loginByWxCodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected