欢迎来到博客园~~~
摘要: const jwt = require('jsonwebtoken') // 对称加密 const key = 'hello' const token = jwt.sign({ username: 'xiaoming' }, key) console.log(token); jwt.verify(t 阅读全文
posted @ 2019-06-19 20:27 孙~洋 阅读(1334) 评论(0) 推荐(0)