1
This commit is contained in:
parent
98a332cf5c
commit
8710245519
5
utils.js
5
utils.js
@ -363,6 +363,10 @@ function normalMd5UrlSign(params, $secretKey) {
|
||||
return md5Str(paramsStr + $secretKey);
|
||||
}
|
||||
|
||||
function genUuid() {
|
||||
return crypto.randomUUID();
|
||||
}
|
||||
|
||||
exports.rspErr = rspErr;
|
||||
exports.rspOk = rspOk;
|
||||
exports.rspData = rspData;
|
||||
@ -407,3 +411,4 @@ exports.arrayToStrings = arrayToStrings;
|
||||
exports.removeLeadZero = removeLeadZero;
|
||||
exports.safeDumpErrStack = safeDumpErrStack;
|
||||
exports.normalMd5UrlSign = normalMd5UrlSign;
|
||||
exports.genUuid = genUuid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user