done with the connecting of coze

This commit is contained in:
Ebenezer
2026-03-30 18:30:09 +08:00
parent 8c0e327115
commit adde023647
619 changed files with 8987 additions and 46206 deletions

18
backend/node_modules/jsonwebtoken/lib/timespan.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
var ms = require('ms');
module.exports = function (time, iat) {
var timestamp = iat || Math.floor(Date.now() / 1000);
if (typeof time === 'string') {
var milliseconds = ms(time);
if (typeof milliseconds === 'undefined') {
return;
}
return Math.floor(timestamp + milliseconds / 1000);
} else if (typeof time === 'number') {
return timestamp + time;
} else {
return;
}
};