优化总览统计

master
chenzhi 5 years ago
parent d465be8969
commit 1244156518

@ -189,6 +189,9 @@ class StatisticsCountSetController extends Controller {
$value['promote_account'] = "官方渠道"; $value['promote_account'] = "官方渠道";
}else{ }else{
$value['promote_account'] = $this->PromoteModel->field("account")->where("id = {$value['promote_id']}")->find()['account']; $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); $tempdbres = $this->PromoteCountModel->add($value);

Loading…
Cancel
Save