fix: 微信登录补充保存username和role
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Agent
2026-04-04 07:35:21 +00:00
parent 756444ef2b
commit d12eea7693
10597 changed files with 817047 additions and 3 deletions

20
node_modules/licia/randomId.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
var randomBytes = require('./randomBytes');
var defSymbols =
'ModuleSymbhasOwnPr-0123456789ABCDEFGHIJKLNQRTUVWXYZ_cfgijkpqtvxz';
exports = function() {
var size =
arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21;
var symbols =
arguments.length > 1 && arguments[1] !== undefined
? arguments[1]
: defSymbols;
var id = '';
var len = symbols.length;
var bytes = randomBytes(size);
while (0 < size--) {
id += symbols[bytes[size] % len];
}
return id;
};
module.exports = exports;