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);