wanggangtao 5 years ago
parent
commit
35b4493fb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      task/task_get_day_k_qfq.php

+ 1 - 1
task/task_get_day_k_qfq.php

@@ -9,7 +9,7 @@
 require('../init.php');
 $codeList=Stock::getStockCodeList();//获取股票代码
 $endDate=date("Y",time());
-for($year=2015;$year<$endDate;$year++)
+for($year=2015;$year<=$endDate;$year++)
 {
     foreach ($codeList as $key=>$value){
         Input_162_day_k_qfq::get_day_k_qfq($value["code"],$year);