使用了 koa-jwt 中间件后,如果没有token,或者token失效,该中间件会给出对应的错误 ... 的方法,可见:https://github.com/auth0/node-jsonwebtoken.
確定! 回上一頁