From be8e4a0eb91f506a9eca3a99543f49e16395a85c Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Mon, 5 Feb 2024 18:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E5=85=A5=E9=A9=BB=E7=94=B3=E8=AF=B7=E6=B7=BB=E5=8A=A0=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/marketing/AgentApplyRepository.php | 3 ++- app/controller/api/Agent.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/common/repositories/marketing/AgentApplyRepository.php b/app/common/repositories/marketing/AgentApplyRepository.php index f322bf4..2197035 100644 --- a/app/common/repositories/marketing/AgentApplyRepository.php +++ b/app/common/repositories/marketing/AgentApplyRepository.php @@ -73,7 +73,8 @@ class AgentApplyRepository extends BaseRepository{ "mer_name", "mer_class_id", "mer_type_id", - "mer_images" + "mer_images", + 'enterprise_name' ]); $applyInfo = array_intersect_key($params['data'], $applyInfoKeys); $applyInfo['mer_images'] = implode(',',$applyInfo['mer_images']); diff --git a/app/controller/api/Agent.php b/app/controller/api/Agent.php index d6316a8..9e0ff36 100644 --- a/app/controller/api/Agent.php +++ b/app/controller/api/Agent.php @@ -110,6 +110,7 @@ class Agent extends BaseController{ ['street_id', 0], 'address', ['mer_name', ''], + ['enterprise_name', ''], ['mer_class_id', 0], ['mer_type_id', 0], ['mer_images', []],