Laravel 如何使 cookie 明文?
现在项目中有需要前端的交互用到cookie,
中间件EncryptCookies,设置 protected $except = [
'headmenu',
];
然后报错: setcookie() expects parameter 2 to be string, array given
好像又没有其他可行的方案,问下各位有好的解决方案没有呢
推荐文章: