作者 lyh

变更数据

... ... @@ -126,7 +126,7 @@ class CountLogic extends BaseLogic
}
if(!empty($version) && ($version == '7.5')){
$geoCountModel = new GeoCount();
$geoInfo = $geoCountModel->where('project_id',$this->user['project_id'])->where('date', '<=', date('Y-m-d'))->orderBy('date', 'desc')->first();
$geoInfo = $geoCountModel->where('project_id',$this->user['project_id'])->where('date', '<=', date('Y-m-d'))->orderBy('date', 'desc')->first()->toArray();
$data['geo_qualify_total'] = $geoInfo['qualify_total'] ?? 0;
$data['total_count'] = ($this->project['deploy_build']['keyword_num'] ?? 0) + ($this->project['geo_qualify_day'] ?? 0);
}
... ...