diff --git a/Application/Admin/Controller/QueryController.class.php b/Application/Admin/Controller/QueryController.class.php index f3a07b3ff..bf1538d1d 100644 --- a/Application/Admin/Controller/QueryController.class.php +++ b/Application/Admin/Controller/QueryController.class.php @@ -1607,12 +1607,10 @@ class QueryController extends ThinkController foreach($promoteIdInfo as $key2 => $v1) { $promoteIdArr[] = $v1['id']; } - $map['promote_id'] = ['in',$promoteIdArr]; + $where['promote_id'] = ['in',$promoteIdArr]; }else { - $map['promote_id'] = 0; + $where['promote_id'] = 0; } - - $where['game_id'] = ['in',$gameNameIdArr]; $where['pay_status'] = 1; $begTime = strtotime($mytime);