get_boniu_index_sh50.php 313 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: 王刚涛
  5. * Date: 2020/11/24
  6. * Time: 19:16
  7. * 获取某天的某个股票的数据
  8. */
  9. require('../init.php');
  10. /***
  11. * 1。获取所有的股票代码
  12. * 2.遍历股票代码,住区数据,插入到数据库中
  13. */
  14. Sina::get_boniu_index_sh50();//默认是今天