- <?php
- /**
- * Created by PhpStorm.
- * User: 王刚涛
- * Date: 2020/12/1
- * Time: 19:35
- * 获取指数的当天数据,一天大概6条数据入库
- */
- require('../init.php');
- $indexList=Index::getIndexList();//获取指数代码
- foreach ($indexList as $key=>$value){
- Input_sina_index::get_day_k_index($value["code"],$value["exchange"]);
- }
- ?>
|