学习koa2的过程中,发现cookie设置有一个选项。 ctx.cookies.set('name', 'frank', { signed: true ,maxAge:7200000}); 官网给出的解释是:sign the ...
確定! 回上一頁