修复错误

This commit is contained in:
mkm 2023-08-03 15:57:56 +08:00
parent 858c914102
commit 317e9bf8bf

View File

@ -36,7 +36,7 @@ class AccountLogLists extends BaseApiDataLists
{
// 指定用户
if(isset($this->params['user_id']) && $this->params['user_id'] > 0){
$this->userId = $this->params['user_id'];
$where[] =['user_id','=', $this->params['user_id']];
}else{
$where[] = ['user_id', '=', $this->userId];
}