Merge branch 'sprint/174_tianshujie_error' into 'master'

* Fix the problem that cookic is not updated in time.

See merge request easycorp/zentaopms!753
This commit is contained in:
孙广明
2021-12-02 08:45:30 +00:00
+1
View File
@@ -161,6 +161,7 @@ class productModel extends model
if($this->cookie->preProductID != $this->session->product)
{
$this->cookie->set('preBranch', 0);
setcookie('preBranch', 0, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, true);
}
return $this->session->product;