Merge pull request '修复错误' (#25) from mkm into master
Reviewed-on: http://git.excellentkk.cn/mkm/TaskSystem/pulls/25
This commit is contained in:
commit
6e9f0fc1a3
@ -36,7 +36,7 @@ class AccountLogLists extends BaseApiDataLists
|
|||||||
{
|
{
|
||||||
// 指定用户
|
// 指定用户
|
||||||
if(isset($this->params['user_id']) && $this->params['user_id'] > 0){
|
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{
|
}else{
|
||||||
$where[] = ['user_id', '=', $this->userId];
|
$where[] = ['user_id', '=', $this->userId];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user