MCPcopy Create free account
hub / github.com/zxlie/FeHelper / generateUserId

Function generateUserId

apps/background/statistics.js:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 * @returns {string} 用户ID
56 */
57 const generateUserId = () => {
58 return 'fh_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9);
59 };
60
61 /**
62 * 获取或创建用户ID

Callers 1

getUserIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected