From ead99c4288b3fa0c15953ae43b87f17220c8bc97 Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Sat, 14 Sep 2024 15:39:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=AF=E6=96=B9=E7=9B=B8=E5=85=B3=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- control/index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/control/index.php b/control/index.php index 8b0611c..13b4376 100644 --- a/control/index.php +++ b/control/index.php @@ -154,7 +154,6 @@ class index extends publicBase { $m_user_case = new mUserCase(); $data = $m_user_case->getUserCaseList($uinfo['uid'], $page_num, $page_size); - if (!$data) $this->ajax_json(true, $m_user_case->getError()); $total = $m_user_case->getUserCaseListCount($uinfo['uid']); $rdata = array( @@ -162,8 +161,7 @@ class index extends publicBase { 'per_page' => $page_size, 'last_page' => ceil($total / $page_size), 'current_page' => $page_num, - 'data' => $data['user_case'], - 'case_data' => $data['case_data'] + 'data' => $data ); $this->ajax_json(true, '获取成功', $rdata);