From 231d934727a8c339f9fe4b0c4aabec09b75fb71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Mon, 22 Feb 2021 14:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E9=94=AE=E8=AE=BE=E7=BD=AE=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/agent/controller/Score.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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']));