This commit is contained in:
陆柯 2023-03-12 21:17:32 +08:00
parent 87720d48da
commit b69c154255

View File

@ -30,6 +30,9 @@ module.exports = {
if (!key) {
console.warn('*** tokenkey is empty! ***')
}
if (!token) {
return null
}
try {
return JsonWebToken.verify(
token,