From 5e13b684a8a7e9b9725eda393506cbc51c4b35b3 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Thu, 26 Sep 2024 21:20:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(OrderController):=20=E5=9C=A8=E8=AE=A2?= =?UTF-8?q?=E5=8D=95API=E4=B8=AD=E5=A2=9E=E5=8A=A0=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E6=9A=82=E5=81=9C=E4=BA=A4=E6=98=93=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/order/OrderController.php | 2 ++ app/store/controller/store_order/StoreOrderController.php | 1 + 2 files changed, 3 insertions(+) diff --git a/app/api/controller/order/OrderController.php b/app/api/controller/order/OrderController.php index 3a126f617..fdfea135d 100644 --- a/app/api/controller/order/OrderController.php +++ b/app/api/controller/order/OrderController.php @@ -121,6 +121,8 @@ class OrderController extends BaseApiController */ public function createOrder() { + return $this->fail('系统维护中,暂停交易。维护时间2024年9月27日-28日'); + $cartId = (array)$this->request->post('cart_id', []); $store_id =$this->request->post('store_id', 0); $pay_type = (int)$this->request->post('pay_type'); diff --git a/app/store/controller/store_order/StoreOrderController.php b/app/store/controller/store_order/StoreOrderController.php index 5d7939187..228780a16 100644 --- a/app/store/controller/store_order/StoreOrderController.php +++ b/app/store/controller/store_order/StoreOrderController.php @@ -159,6 +159,7 @@ class StoreOrderController extends BaseAdminController */ public function createOrder() { + return $this->fail('系统维护中,暂停交易。维护时间2024年9月27日-28日'); $cartId = (array)$this->request->post('cart_id', []); $pay_type = (int)$this->request->post('pay_type'); $addressId = (int)$this->request->post('address_id');