From ec56168ce951ac1549bc1a915b3387c34046e6e9 Mon Sep 17 00:00:00 2001 From: guojia <445241500@qq.com> Date: Tue, 30 Apr 2024 14:19:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/store/controller/Merchant.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/store/controller/Merchant.php b/app/store/controller/Merchant.php index 71fc562c..f376087e 100644 --- a/app/store/controller/Merchant.php +++ b/app/store/controller/Merchant.php @@ -139,7 +139,8 @@ class Merchant extends Controller return $this->renderSuccess('操作成功'); } } else { - if ($model->edit($data)) { + $data['style_id'] = 1; + if ($detail->edit($data)) { return $this->renderSuccess('操作成功'); } }