企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>req.signedCookie ~~~ const express = require('express'); const cookieParser = require("cookie-parser"); const server = express(); server.listen(8088); server.use(cookieParser("qwert")) server.use('/',function(req,res){ res.secret ="qwert"; res.cookie("name","cheng",{signed:true}); res.send("ok") //没有签名 console.log(req.cookies) //签名的cookie console.log(req.signedCookies) }) ~~~