From 6b29a324703653ac67b8dac792e11b1fe6f66152 Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Thu, 20 Jun 2024 15:54:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=95=B0=E9=87=8F=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/validate/CartValidate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/validate/CartValidate.php b/app/api/validate/CartValidate.php index cf9a3661..bc84fc75 100644 --- a/app/api/validate/CartValidate.php +++ b/app/api/validate/CartValidate.php @@ -19,7 +19,7 @@ class CartValidate extends BaseValidate * @var string[] */ protected $rule = [ - 'cart_num' => 'require|number', + 'cart_num' => 'require', 'product_attr_unique' => 'require', 'store_id' => 'require|number', 'staff_id' => 'require|number',