From 6fbde3c97b046241aba93245346241a3b5674f46 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Tue, 7 Jan 2025 16:31:36 +0800 Subject: [PATCH] channel --- admin/controllers/autohome/Customer.php | 32 +++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/admin/controllers/autohome/Customer.php b/admin/controllers/autohome/Customer.php index d5028d57..82e0915e 100644 --- a/admin/controllers/autohome/Customer.php +++ b/admin/controllers/autohome/Customer.php @@ -6,7 +6,7 @@ class Customer extends HD_Controller { private $cfrom = [1 => '空间站', 2 => '车卖场']; private $cfrom2 = [11 => '厦门', 12 => '海口', 13 => '长沙', 14 => '佛山', 15 => '贵阳']; - private $channel = [1 => '抖音直播', 2 => '其他']; + //private $channel = [1 => '抖音直播', 2 => '其他']; private $push_status = ['0' => '未上传', '-1' => '上传失败']; private $dis_status = [0 => '未分发', 2 => '分发失败']; @@ -15,6 +15,34 @@ class Customer extends HD_Controller private $keyOutsidePvareaidId = '303556333'; private $keyExt5 = '10477'; + private $channel = array( + '10477' => '初始渠道', + '10489' => '厦门-郑子华', + '10490' => '厦门-魏思雨', + '10491' => '厦门-蔡文彬', + '10492' => '厦门-4', + '10493' => '厦门-5', + '10494' => '厦门-6', + '10495' => '厦门-7', + '10496' => '厦门-8', + '10497' => '厦门-9', + '10498' => '厦门-10', + '10499' => '长沙-1', + '10500' => '长沙-2', + '10501' => '长沙-3', + '10502' => '长沙-4', + '10503' => '长沙-5', + '10504' => '海口-1', + '10505' => '海口-2', + '10506' => '海口-3', + '10507' => '佛山-1', + '10508' => '佛山-2', + '10509' => '佛山-3', + '10510' => '贵阳-1', + '10511' => '贵阳-2', + '10512' => '贵阳-3', + ); + public function __construct() { parent::__construct(); @@ -389,7 +417,7 @@ class Customer extends HD_Controller 'pushAppKey' => $this->pushAppKey, 'keySupplyBusinessId' => $this->keySupplyBusinessId, 'keyOutsidePvareaidId' => $this->keyOutsidePvareaidId, - 'keyExt5' => $this->keyExt5, + 'keyExt5' => $v['channel'], 'keyExt12' => addslashes(json_encode(array('flowOrderNo' => $v['sid']))), 'splitCode' => '123', 'keyPrivateFlag' => '0',