From 1fdb194e567e2e45fb6591c383259dc26614ff1e Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Mon, 17 Jun 2024 10:40:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=EF=BC=9A=E9=85=8D=E9=80=81?= =?UTF-8?q?=E5=95=86=E7=BC=B4=E8=B4=B9=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/marketing/AgentRepository.php | 5 ++++- app/controller/admin/marketing/Agent.php | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/common/repositories/marketing/AgentRepository.php b/app/common/repositories/marketing/AgentRepository.php index 1830ddd..1c11d4e 100644 --- a/app/common/repositories/marketing/AgentRepository.php +++ b/app/common/repositories/marketing/AgentRepository.php @@ -405,7 +405,9 @@ class AgentRepository extends BaseRepository{ 'external_personnel_money_platform', 'external_personnel_money_initiator', // 邀请限制 - 'invite_limit' + 'invite_limit', + // 配送商缴费设置 + 'payment_list' ]); $config['delivery_process'] = (int)$config['delivery_process']; $config['field_staff_process'] = (int)$config['field_staff_process']; @@ -417,6 +419,7 @@ class AgentRepository extends BaseRepository{ $config['field_personnel_process'] = (int)$config['field_personnel_process']; $config['external_personnel_process'] = (int)$config['external_personnel_process']; $config['invite_limit'] = $config['invite_limit'] ? (array)$config['invite_limit'] : []; + $config['payment_list'] = $config['payment_list'] ? (array)$config['payment_list'] : []; return $config; } diff --git a/app/controller/admin/marketing/Agent.php b/app/controller/admin/marketing/Agent.php index 48c2ec2..da291f2 100644 --- a/app/controller/admin/marketing/Agent.php +++ b/app/controller/admin/marketing/Agent.php @@ -425,7 +425,10 @@ class Agent extends BaseController{ ['external_personnel_process',0], ['external_personnel_money_platform',0], ['external_personnel_money_initiator',0], + // 邀请限制 ['invite_limit',[]], + // 配送商缴费设置 + ['payment_list',[]], ]); // 保存信息 $cid = app()->make(ConfigClassifyRepository::class)->getConfigClassifyKeyById('agent_config', '代理中心配置');