@jingsam 我用的koa-jwt 目前想直接在secret加个时间值,不知道koa-jwt可以直接 ... 12h 表示12小时 jwt.sign(userToken, "secret", { expiresIn: "12h" }) // 也可以 ...
確定! 回上一頁