From 1244156518d66ba3c0c05cf52d8faecde28f02da Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 19 Dec 2019 20:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=80=BB=E8=A7=88=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/StatisticsCountSetController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Application/Admin/Controller/StatisticsCountSetController.class.php b/Application/Admin/Controller/StatisticsCountSetController.class.php index 150b9d45e..5c147bfb8 100644 --- a/Application/Admin/Controller/StatisticsCountSetController.class.php +++ b/Application/Admin/Controller/StatisticsCountSetController.class.php @@ -189,6 +189,9 @@ class StatisticsCountSetController extends Controller { $value['promote_account'] = "官方渠道"; }else{ $value['promote_account'] = $this->PromoteModel->field("account")->where("id = {$value['promote_id']}")->find()['account']; + if(!$value['promote_account']){ + $value['promote_account']="未知推广员"; + } } } $tempdbres = $this->PromoteCountModel->add($value);