express 使用 cookie

默認 環境 使用了 cookie-parser;  而且使用了它;node const cookieParser=require("cookie-parser"); app.use(cookieParser()); 而後 就在登錄成功以後  ,利用 res.cookie()方法去存儲cookie;mongodb //註冊登錄post 方法; Router.post("/login",functio
相關文章
相關標籤/搜索