From 30601d422bad4ad248826ed0fec0203f014cd934 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sun, 21 Jul 2019 15:37:18 +0800 Subject: [PATCH] =?UTF-8?q?api=E6=8E=A5=E5=8F=A3=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Message.php | 6 +++--- application/api/controller/Order.php | 12 ++++++------ application/api/controller/Usergoodsbrowse.php | 6 +++--- application/api/controller/Userintegral.php | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/application/api/controller/Message.php b/application/api/controller/Message.php index e82e0e84f..32039bbae 100755 --- a/application/api/controller/Message.php +++ b/application/api/controller/Message.php @@ -67,9 +67,9 @@ class Message extends Common // 获取列表 $data_params = array( - 'limit_start' => $start, - 'limit_number' => $number, - 'where' => $where, + 'm' => $start, + 'n' => $number, + 'where' => $where, ); $data = MessageService::MessageList($data_params); diff --git a/application/api/controller/Order.php b/application/api/controller/Order.php index 3c8f1532c..e5996bf16 100755 --- a/application/api/controller/Order.php +++ b/application/api/controller/Order.php @@ -66,9 +66,9 @@ class Order extends Common // 获取列表 $data_params = array( - 'limit_start' => $start, - 'limit_number' => $number, - 'where' => $where, + 'm' => $start, + 'n' => $number, + 'where' => $where, ); $data = OrderService::OrderList($data_params); @@ -103,9 +103,9 @@ class Order extends Common // 获取列表 $data_params = array( - 'limit_start' => 0, - 'limit_number' => 1, - 'where' => $where, + 'm' => 0, + 'n' => 1, + 'where' => $where, ); $data = OrderService::OrderList($data_params); if(!empty($data['data'][0])) diff --git a/application/api/controller/Usergoodsbrowse.php b/application/api/controller/Usergoodsbrowse.php index f1e77fc4c..c54718c26 100755 --- a/application/api/controller/Usergoodsbrowse.php +++ b/application/api/controller/Usergoodsbrowse.php @@ -65,9 +65,9 @@ class UserGoodsBrowse extends Common // 获取列表 $data_params = array( - 'limit_start' => $start, - 'limit_number' => $number, - 'where' => $where, + 'm' => $start, + 'n' => $number, + 'where' => $where, ); $data = GoodsService::GoodsBrowseList($data_params); diff --git a/application/api/controller/Userintegral.php b/application/api/controller/Userintegral.php index a60dc4358..2196071bc 100755 --- a/application/api/controller/Userintegral.php +++ b/application/api/controller/Userintegral.php @@ -65,9 +65,9 @@ class UserIntegral extends Common // 获取列表 $data_params = array( - 'limit_start' => $start, - 'limit_number' => $number, - 'where' => $where, + 'm' => $start, + 'n' => $number, + 'where' => $where, ); $data = IntegralService::UserIntegralLogList($data_params);