top-think/think

cookie 配置中setcookie 未使用

yuanzhihai opened this issue · 0 comments

return [
    // cookie 保存时间
    'expire'    => 0,
    // cookie 保存路径
    'path'      => '/',
    // cookie 有效域名
    'domain'    => '',
    //  cookie 启用安全传输
    'secure'    => false,
    // httponly设置
    'httponly'  => false,
    // 是否使用 setcookie
    c
    // samesite 设置,支持 'strict' 'lax'
    'samesite'  => '',
];

'setcookie' => true,
这个配置 cookie类中未使用