You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
661 B

  1. <?php
  2. /*
  3. * wechat 2.0
  4. * Copyright (c) 2016 yixi wei http://zhizhuchuxing.com/
  5. * Date: 2016.09.06
  6. * Something is to pay QQ1062140302
  7. */
  8. header("Access-Control-Allow-Origin:*");
  9. //载入配置文件和连接数据库
  10. date_default_timezone_set('PRC');
  11. require_once '/usr/share/nginx/ZZFX/wchat_fx/zz-fx/Common/Mysql.php';
  12. $pdo=conn();
  13. $arr = range(1,2);
  14. $disney_ticket_info=array();
  15. foreach ($arr as $k=>$v) {
  16. $date = date('Y-m-d', time()+60*60*24*$k);
  17. $disney_ticket_info[$date] = get_disney_all_info($date);
  18. }
  19. print_r($disney_ticket_info);
  20. //set_memcache('disney_ticket_info',$disney_ticket_info);