From 9122fa3199443e65a28b6734a1932469126b4a60 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sat, 10 Aug 2024 21:16:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=80=BB=E8=BE=91=EF=BC=8C=E5=A2=9E=E5=BC=BA?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E6=A3=80=E6=9F=A5=E4=B8=8E=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=A4=84=E7=90=86=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/logic/store_product/StoreProductLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/logic/store_product/StoreProductLogic.php b/app/admin/logic/store_product/StoreProductLogic.php index a559210e..a0ab807f 100644 --- a/app/admin/logic/store_product/StoreProductLogic.php +++ b/app/admin/logic/store_product/StoreProductLogic.php @@ -447,7 +447,7 @@ class StoreProductLogic extends BaseLogic ]; StoreBranchProductAttrValue::create($arr); if ($product_arr['stock'] > 0) { - self::storage($find, $store_id, $admin_id, $product_arr,$warehouse_id); + self::storage($find, $store_id, $admin_id, $product_arr,1,$warehouse_id); } Db::commit(); return true;