更新统计

This commit is contained in:
mkm 2023-08-03 15:10:56 +08:00
parent 2c6bbbab91
commit ea5abd8460

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') {