lanjianrong hace 3 años
padre
commit
bef50124c7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/extend/helper.js

+ 1 - 1
app/extend/helper.js

@@ -1473,6 +1473,6 @@ module.exports = {
      * @return {String} token
      */
     createJWT(data) {
-        return jwt.sign({ data }, sign.managementApiSecretKey, { expiresIn: '7d' });
+        return jwt.sign({ data }, sign.managementApiSecretKey, { expiresIn: '15s' });
     },
 };