Merge pull request '更新统计' (#22) from mkm into master

Reviewed-on: http://git.excellentkk.cn/mkm/TaskSystem/pulls/22
This commit is contained in:
mkm 2023-08-03 15:11:14 +08:00
commit 8c33973830

View File

@ -35,7 +35,11 @@ class AccountLogLists extends BaseApiDataLists
public function queryWhere()
{
// 指定用户
$where[] = ['user_id', '=', $this->userId];
if(isset($this->params['user_id']) && $this->params['user_id'] > 0){
$this->userId = $this->params['user_id'];
}else{
$where[] = ['user_id', '=', $this->userId];
}
// 用户月明细
if (isset($this->params['type']) && $this->params['type'] == 'um') {