From 65a156fbffb1d132e348d1c66b7d4ae4e7306b4d Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Mon, 4 Mar 2024 14:31:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E6=88=B7=E5=85=A5?= =?UTF-8?q?=E9=A9=BB=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/merchant/MerchantIntentionRepository.php | 1 + app/controller/api/store/merchant/MerchantIntention.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/common/repositories/system/merchant/MerchantIntentionRepository.php b/app/common/repositories/system/merchant/MerchantIntentionRepository.php index 56c48c81..8a9c197d 100755 --- a/app/common/repositories/system/merchant/MerchantIntentionRepository.php +++ b/app/common/repositories/system/merchant/MerchantIntentionRepository.php @@ -151,6 +151,7 @@ class MerchantIntentionRepository extends BaseRepository 'business_status'=>2, 'mer_settlement_agree_status'=>1, 'commission_rate'=>$commissionRate, + 'financial_bank'=>$intention['financial_bank'], ]; if($margin['type_code']=='PersonalStore'){ $merData['mer_address']='集体地址'; diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index 32339ffa..0bd7970b 100755 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -344,8 +344,12 @@ class MerchantIntention extends BaseController 'bank_back', 'cardno_front', 'cardno_back', + 'financial_bank', ]); + if (!empty($data['financial_bank'])) { + $data['financial_bank'] = json_encode($data['financial_bank']); + } app()->make(MerchantIntentionValidate::class)->check($data); $check = app()->make(SmsService::class)->checkSmsCode($data['phone'], $data['code'], 'intention'); $data['mer_type_id'] = (int)$data['mer_type_id'];