From 9fe15f40b364aab2213a5e0fb11c4c9bbfa53222 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 8 Nov 2023 13:52:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/order/StoreOrderBehalf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/api/store/order/StoreOrderBehalf.php b/app/controller/api/store/order/StoreOrderBehalf.php index e017a2f2..8ec61569 100644 --- a/app/controller/api/store/order/StoreOrderBehalf.php +++ b/app/controller/api/store/order/StoreOrderBehalf.php @@ -68,12 +68,12 @@ class StoreOrderBehalf extends BaseController public function lst() { [$page, $limit] = $this->getPage(); - $status = $this->request->param('status',0); + $status = $this->request->param('status','all'); $uid = $this->request->userInfo()['uid']; $mer_id = Db::name('store_service')->where('uid', $uid)->where('is_del', 0)->value('mer_id'); if ($mer_id) { - if($status==0){ + if($status=='all'){ $where=['status','>=',0]; }else{ $where=['status','=',$status];