cookies插件

npm i cookies var Cookies = require("cookies"); app.use(function(req,res,next){ req.cookies = new Cookies(req,res); req.userinfo = {}; if(req.cookies.get("userinfo")){ try{
相關文章
相關標籤/搜索