Merge pull request '更新统计' (#22) from mkm into master
Reviewed-on: http://git.excellentkk.cn/mkm/TaskSystem/pulls/22
This commit is contained in:
commit
8c33973830
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user