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];