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 { //商户交易申请