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'];