From 39173539d426131ecb95e7df80c19598c17f19c3 Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Sat, 15 Jun 2024 16:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/lists/store/SystemStoreLists.php | 2 +- app/store/controller/store_order/StoreOrderController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/lists/store/SystemStoreLists.php b/app/api/lists/store/SystemStoreLists.php index 2688c24cc..52bef3231 100644 --- a/app/api/lists/store/SystemStoreLists.php +++ b/app/api/lists/store/SystemStoreLists.php @@ -49,7 +49,7 @@ class SystemStoreLists extends BaseAdminDataLists implements ListsSearchInterfac $latitude = $this->request->get('latitude',''); $longitude = $this->request->get('longitude',''); if(empty($longitude) || empty($latitude)){ - throw new MyBusinessException('缺失经纬度'); + throw new Exception('缺失经纬度'); } $where[]=['is_show','=',YesNoEnum::YES]; $data = SystemStore::where($this->searchWhere)->where($where) diff --git a/app/store/controller/store_order/StoreOrderController.php b/app/store/controller/store_order/StoreOrderController.php index 01399ff7a..d223fff94 100644 --- a/app/store/controller/store_order/StoreOrderController.php +++ b/app/store/controller/store_order/StoreOrderController.php @@ -137,7 +137,7 @@ class StoreOrderController extends BaseAdminController if(empty($user)){ return $this->fail('无该用户请检查'); } - $order = StoreOrderLogic::cartIdByOrderInfo($params['cartId'], null, $user, $params); + $order = StoreOrderLogic::cartIdByOrderInfo($params['cart_id'], null, $user, $params); if($order['order']['pay_price'] > $user['purchase_funds']){ return $this->fail('当前用户采购款不足支付'); }