From 70b820e011653858820ae73baa2a2721461bbcfb Mon Sep 17 00:00:00 2001 From: TL Date: Wed, 20 Jul 2022 15:04:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beike/Admin/Services/ProductService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/beike/Admin/Services/ProductService.php b/beike/Admin/Services/ProductService.php index d16057dc..fcd6cf05 100644 --- a/beike/Admin/Services/ProductService.php +++ b/beike/Admin/Services/ProductService.php @@ -26,6 +26,7 @@ class ProductService try { DB::beginTransaction(); + $data['variables'] = json_decode($data['variables']); $product->fill($data); $product->save();