From d268e4f64eb031548e03fc2aa1c0ed84644bbf3d Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 28 Sep 2023 14:07:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=90=A5=E4=B8=9A=E6=89=A7?= =?UTF-8?q?=E7=85=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Auth.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index 9219a13a..e09b6d05 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -1463,6 +1463,8 @@ class Auth extends BaseController Db::name('merchant_intention')->where('mer_intention_id', $id)->where('type', 1)->update($updData); if ($status == 1) { $repository->updateStatus($id, $data); + $intention = Db::name('merchant_intention')->where('mer_intention_id', $id)->where('type', 1)->find(); + Db::name('merchant')->where('mer_id', $intention['mer_id'] ?? 0)->update(['mer_license_image' => $intention['images']]); } } else { //商户交易申请