Merge pull request '修复错误' (#25) from mkm into master

Reviewed-on: http://git.excellentkk.cn/mkm/TaskSystem/pulls/25
This commit is contained in:
mkm 2023-08-03 15:58:11 +08:00
commit 6e9f0fc1a3

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];
}