From 761669ba7f81c5ad1f6e81604bd03e1f9b1da0cd Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Fri, 22 Sep 2023 11:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Auth.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index b7b567b0..a90ab485 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -1391,6 +1391,9 @@ class Auth extends BaseController Db::name('merchant_intention')->where('mer_intention_id', $id)->where('type', 2)->update($updData); $merId = Db::name('merchant_intention')->where('mer_intention_id', $id)->where('type', 2)->value('mer_id', 0); Db::name('merchant')->where('mer_id', $merId)->where('status', 1)->update(['business_status' => ($status == 1 ? 2 : 3)]); + if ($status == 1) { + Db::name('merchant')->where('mer_id', $merId)->update(['mer_settlement_agree_status'=>1]); + } } return app('json')->success('同步成功');