作者 李宇航

合并分支 'lyh-server' 到 'master'

变更数据



查看合并请求 !3151
@@ -165,7 +165,7 @@ class RemainDay extends Command @@ -165,7 +165,7 @@ class RemainDay extends Command
165 if($item['version'] == 7.5 && $deploy_build['seo_plan'] != 0 && $deploy_build['plan'] != 0){ 165 if($item['version'] == 7.5 && $deploy_build['seo_plan'] != 0 && $deploy_build['plan'] != 0){
166 $geoCountModel = new GeoCount(); 166 $geoCountModel = new GeoCount();
167 $is_qualify = $geoCountModel->where('project_id', $item['id'])->orderBy('id', 'desc')->value('is_qualify'); 167 $is_qualify = $geoCountModel->where('project_id', $item['id'])->orderBy('id', 'desc')->value('is_qualify');
168 - if($compliance_day > 0 && $is_qualify > 0){ 168 + if($item['is_remain_today'] > 0 && $is_qualify > 0){
169 $remain_day = $item['remain_day'] - 1; 169 $remain_day = $item['remain_day'] - 1;
170 } 170 }
171 }else{ 171 }else{