diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index 11f92c99..8b84a2a4 100644 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -203,7 +203,9 @@ class MerchantIntention extends BaseController 'bank_back' => $data['bank_back'] ?? '', 'cardno_front' => $data['cardno_front'] ?? '', 'cardno_back' => $data['cardno_back'] ?? '', - 'mer_intention_id' => $intentionId + 'mer_intention_id' => $intentionId, + 'type_id'=>$data['mer_type_id']??'' + ]; $postUrl = env('TASK_WORKER_HOST_URL') . '/adminapi/company/createShopMerchant'; $res = $this->sendMerIntentionApply($sendData, $postUrl); @@ -297,7 +299,9 @@ class MerchantIntention extends BaseController 'area' => $data['area_id'] ?? '', 'street' => $data['street_id'] ?? '', 'address' => $data['address'] ?? '', - 'mer_intention_id' => $id + 'mer_intention_id' => $id, + 'type_id'=>$data['mer_type_id']??'' + ]; $postUrl = env('TASK_WORKER_HOST_URL') . '/adminapi/company/createShopMerchant'; $res = $this->sendMerIntentionApply($sendData, $postUrl);