作者 lyh

GX生成白帽报表脚本

@@ -96,7 +96,7 @@ class GeoQuestionRes extends Command @@ -96,7 +96,7 @@ class GeoQuestionRes extends Command
96 } 96 }
97 } 97 }
98 //更新下次执行时间 98 //更新下次执行时间
99 - $questionModel->edit(['current_time'=>date('Y-m-d'),'next_time'=>date('Y-m-d', strtotime(date('Y-m-d') . ' +5 days'))],['id'=>$info['id']]); 99 + $questionModel->edit(['current_time'=>date('Y-m-d'),'next_time'=>date('Y-m-d', strtotime(date('Y-m-d') . ' +'.(int)$projectInfo['geo_frequency'].' days'))],['id'=>$info['id']]);
100 } 100 }
101 } 101 }
102 102