From 5396dde52041fb879eac9ed667a7f871de16f9b7 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Thu, 7 Mar 2024 14:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E6=88=B7=E4=BA=A4?= =?UTF-8?q?=E6=98=93=E7=94=B3=E8=AF=B7=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/merchant/MerchantIntentionRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/repositories/system/merchant/MerchantIntentionRepository.php b/app/common/repositories/system/merchant/MerchantIntentionRepository.php index 0ee93605..8b9ed3c1 100755 --- a/app/common/repositories/system/merchant/MerchantIntentionRepository.php +++ b/app/common/repositories/system/merchant/MerchantIntentionRepository.php @@ -203,7 +203,7 @@ class MerchantIntentionRepository extends BaseRepository Db::name('store_service')->insert($store_service_data); } if ($intention['type'] == 2) { - $merId = MerchantIntention::where('uid', $intention['uid'])->where('status', 1)->value('mer_id'); + $merId = Merchant::where('uid', $intention['uid'])->value('mer_id'); if (!empty($merId)) { Merchant::where('mer_id', $merId)->update(['business_status' => 2, 'mer_settlement_agree_status' => 1]); }