作者 lyh

gx

... ... @@ -37,7 +37,9 @@ class BaseLogic extends Logic
$this->request = request();
$this->requestAll = request()->all();
$this->user = Cache::get(request()->header('token'));
$this->project = Cache::get('user-'.$this->user['project_id']);
if(!empty($this->user)){
$this->project = Cache::get('user-'.$this->user['project_id']);
}
}
/**
... ...