From 6b44bc45ededb13139c0173d4a7a6696325e67d5 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 27 Jan 2025 13:26:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor(store):=20=E7=A7=BB=E9=99=A4=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E9=A2=84=E8=AE=A2=E8=AE=A2=E5=8D=95=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E5=91=98=E5=B7=A5=20ID=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉了 BeforehandOrderController 中获取 store_staff_id 的代码行 - 这个改动可能是为了调整预订订单创建流程,不再需要员工 ID --- .../controller/beforehand_order/BeforehandOrderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/controller/beforehand_order/BeforehandOrderController.php b/app/store/controller/beforehand_order/BeforehandOrderController.php index c35a3b140..421f4234c 100644 --- a/app/store/controller/beforehand_order/BeforehandOrderController.php +++ b/app/store/controller/beforehand_order/BeforehandOrderController.php @@ -39,7 +39,7 @@ class BeforehandOrderController extends BaseAdminController { $params = $this->request->get(); $params['store_id'] = $this->request->adminInfo['store_id'] ?? 0; - $params['store_staff_id'] = $this->request->adminInfo['admin_id'] ?? 0; + // $params['store_staff_id'] = $this->request->adminInfo['admin_id'] ?? 0; $this->request->setGet($params); return $this->dataLists(new BeforehandOrderLists()); }