npm install koa-jwt jsonwebtoken --save. 先明确一下两者的关系: koa-jwt 是负责对 token 进行验证的,而 jsonwebtoken 是负责生成 token 的。
確定! 回上一頁