作者 lyh

变更数据

@@ -124,7 +124,7 @@ class CountLogic extends BaseLogic @@ -124,7 +124,7 @@ class CountLogic extends BaseLogic
124 $data = []; 124 $data = [];
125 } 125 }
126 } 126 }
127 - if(!empty($version) && $version != '7.5'){ 127 + if(!empty($version) && ($version == '7.5')){
128 $geoCountModel = new GeoCount(); 128 $geoCountModel = new GeoCount();
129 $geoInfo = $geoCountModel->where('project_id',$this->user['project_id'])->where('date', '<=', date('Y-m-d'))->orderBy('date', 'desc')->first(); 129 $geoInfo = $geoCountModel->where('project_id',$this->user['project_id'])->where('date', '<=', date('Y-m-d'))->orderBy('date', 'desc')->first();
130 $data['geo_qualify_total'] = $geoInfo['qualify_total'] ?? 0; 130 $data['geo_qualify_total'] = $geoInfo['qualify_total'] ?? 0;