|
@@ -159,7 +159,7 @@ class BaseController extends Controller |
|
@@ -159,7 +159,7 @@ class BaseController extends Controller |
|
159
|
$log = config('logging.operator_log');
|
159
|
$log = config('logging.operator_log');
|
|
160
|
if(isset($log) && $log['log'] == true){
|
160
|
if(isset($log) && $log['log'] == true){
|
|
161
|
if(empty($log['action']) || (strpos($log['action'],$this->request->route()->getName()) === false)){
|
161
|
if(empty($log['action']) || (strpos($log['action'],$this->request->route()->getName()) === false)){
|
|
162
|
- Common::set_user_log(['model'=>$this->request->route()->getName(),'remark'=>'请求的参数:param = '.json_encode($this->param),'operator_id'=>$this->uid,'type'=>isset($this->user['manager_id']) ? 1 : 0]);
|
162
|
+ Common::set_user_log(['project_id'=>$this->user['project_id'] ?? 0,'model'=>$this->request->route()->getName(),'remark'=>'请求的参数:param = '.json_encode($this->param),'operator_id'=>$this->uid,'type'=>isset($this->user['manager_id']) ? 1 : 0]);
|
|
163
|
}
|
163
|
}
|
|
164
|
}
|
164
|
}
|
|
165
|
return true;
|
165
|
return true;
|