diff --git a/app/agent/controller/Score.php b/app/agent/controller/Score.php index 3fe2868..285d8cd 100644 --- a/app/agent/controller/Score.php +++ b/app/agent/controller/Score.php @@ -12,7 +12,6 @@ class Score extends Controller //账号列表 public function getList () { - $get_data = $_GET; $agent_id = $this->userinfo['OperaterID']; $page = 0; if (isset($_GET['PageIndex'])) { @@ -46,12 +45,15 @@ class Score extends Controller //账号列表 public function getScoreList () { + + $get_data = $_GET; $page = 0; if (isset($_GET['PageIndex'])) { $page = ($_GET['PageIndex'] - 1) * 50; } $where = []; $where_str = ''; + $where['agent_id'] = $get_data['id']; if (!empty($_GET['Btime'])){ $date1 = date('Y-m-d', strtotime($_GET['Btime']));