wanggangtao vor 5 Jahren
Ursprung
Commit
47828aa426

+ 1 - 1
lib/input162DayKQfq.class.php

@@ -5,7 +5,7 @@
  * 用于获取当天各种指数
  * http://hq.sinajs.cn/list=s_sz000002
  */
-class Input162DayKQfq
+class Input_162_day_k_qfq
 {
 
     /****

+ 1 - 1
lib/input163HistoryDayK.class.php

@@ -6,7 +6,7 @@
  */
 
 
-class Input163HistoryDayK
+class Input_163_history_day_k
 {
 
     /****

+ 1 - 1
lib/input163Index.class.php

@@ -6,7 +6,7 @@
  */
 
 
-class Input163index
+class Input_163_index
 {
 
     /****

+ 1 - 1
lib/inputSinaDayK.class.php

@@ -6,7 +6,7 @@
  */
 
 
-class InputSinaDayK
+class Input_sina_day_k
 {
 
     /****

+ 1 - 1
lib/inputSinaImmediate.class.php

@@ -6,7 +6,7 @@
  */
 
 
-class InputSinaImmediate
+class Input_sina_immediate
 {
 
     /****

+ 1 - 1
lib/inputSinaIndex.class.php

@@ -6,7 +6,7 @@
  */
 
 
-class InputSinaIndex
+class Input_sina_index
 {
 
 

+ 1 - 1
lib/inputTencentDay_k.class.php

@@ -6,7 +6,7 @@
  * Date: 2020/11/29
  * Time: 18:51
  */
-class InputTencentDay_k
+class Input_tencent_day_k
 {
 
     /****

+ 1 - 1
task/task_get_day_k_index.php

@@ -9,7 +9,7 @@
 require('../init.php');
 $indexList=Index::getIndexList();//获取指数代码
 foreach ($indexList as $key=>$value){
-    inputSinaIndex::get_day_k_index($value["code"],$value["exchange"]);
+    Input_sina_index::get_day_k_index($value["code"],$value["exchange"]);
 }
 
 

+ 1 - 1
task/task_get_day_k_qfq.php

@@ -12,7 +12,7 @@ $endDate=date("Y",time());
 for($year=2015;$year<$endDate;$year++)
 {
     foreach ($codeList as $key=>$value){
-        input162DayKQfq::get_day_k_qfq($value["code"],$year);
+        Input_162_day_k_qfq::get_day_k_qfq($value["code"],$year);
     }
 }
 ?>

+ 1 - 1
task/task_get_day_k_stock.php

@@ -10,7 +10,7 @@ require('../init.php');
 $codeList=Stock::getStockCodeList();//获取股票代码
 
 foreach ($codeList as $key=>$value){
-    inputSinaDayK::get_day_k($value["code"],$value["exchange"]);
+    Input_sina_day_k::get_day_k($value["code"],$value["exchange"]);
 }
 
 

+ 1 - 1
task/task_get_history_day_k.php

@@ -12,7 +12,7 @@ $start_date=20140101;
 $end_date=date("Ymd",time());
 $indexList=Stock::getStockCodeList();//获取指数代码
 foreach ($indexList as $key=>$value){
-    Input163HistoryDayK::HistoryDayK($value["code"],$start_date,$end_date);
+    Input_163_history_day_k::HistoryDayK($value["code"],$start_date,$end_date);
 }
 
 ?>

+ 1 - 1
task/task_get_history_index.php

@@ -12,7 +12,7 @@ $start_date=20140101;
 $end_date=date("Ymd",time());
 $indexList=Index::getIndexList();//获取指数代码
 foreach ($indexList as $key=>$value){
-    Input163index::get_history_index($value["code"],$start_date,$end_date);
+    Input_163_index::get_history_index($value["code"],$start_date,$end_date);
 }
 
 

+ 1 - 1
task/task_get_immediate_stock.php

@@ -9,7 +9,7 @@ require('../init.php');
 $codeList=Stock::getStockCodeList();//获取股票代码
 
 foreach ($codeList as $key=>$value){
-    InputSinaImmediate::get_day_k($value["code"],$value["exchange"]);
+    Input_sina_immediate::get_day_k($value["code"],$value["exchange"]);
 }