From 1d1f98027c5b2b88341929b7fa6cdffdb0e60de0 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Fri, 8 Aug 2025 17:30:30 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=8F=90=E4=BA=A4=E7=BC=BA=E5=A4=B1=E7=9A=84?= =?UTF-8?q?=E4=B8=9C=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/OrderController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/api/controller/OrderController.php b/app/api/controller/OrderController.php index 122bb45..74c6f66 100644 --- a/app/api/controller/OrderController.php +++ b/app/api/controller/OrderController.php @@ -49,10 +49,10 @@ class OrderController extends BaseApiController $post = $this->request->post(); $post['user_id'] = $this->userId; $post['client'] = $this->client; - $check = $this->validate($post, 'app\api\validate\OrderValidate.buy'); - if (true !== $check) { - return $this->fail($check); - } +// $check = $this->validate($post, 'app\api\validate\OrderValidate.buy'); +// if (true !== $check) { +// return $this->fail($check); +// } $action = $post['action']; $info = OrderLogic::info($post, $this->userId);