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.
 
 
 
 
 

55 lines
1.3 KiB

  1. <?php
  2. require_once '../php_include/zizai_api.inc';
  3. $result_info = run_list(API_USER,API_PASSWORD);
  4. print_r($result_info);
  5. echo "<hr />";
  6. $result_array = get_disney_info("2016-08-31");
  7. print_r($result_array);
  8. echo "<hr />";
  9. //$result_array = gorun(API_USER,API_PASSWORD, "SHDSN2","2016-08-28");
  10. $result_array = get_disney_info2("2016-08-31");
  11. print_r($result_array);
  12. echo "<hr />";exit();
  13. /*
  14. $result_info = login_api( API_USER,API_PASSWORD );
  15. print_r($result_info);
  16. exit();
  17. $result_array = gorun(API_USER,API_PASSWORD, DISNEY_CODE3,"2016-08-04");
  18. $run_id = $result_array["go_run_list"]["run"]["runid"];
  19. $result_array = ticket( API_USER,API_PASSWORD, DISNEY_CODE3, $run_id);
  20. print_r($result_array);
  21. exit();
  22. $ticket_array = get_disney_info("2016-08-04");
  23. print_r($ticket_array);
  24. echo "<hr />";
  25. $ticket_array = get_disney_info2("2016-08-04");
  26. print_r($ticket_array);
  27. echo "<hr />";
  28. $ticket_array = get_disney_info3("2016-08-04");
  29. print_r($ticket_array);
  30. echo "<hr />";
  31. */
  32. //$limit_time = date("Y-m-d H:i:s", strtotime("- 10minutes"));
  33. /*
  34. echo date("w", strtotime("2016-08-01"));
  35. echo date("w", strtotime("2016-08-02"));
  36. echo date("w", strtotime("2016-08-03"));
  37. echo date("w", strtotime("2016-08-04"));
  38. echo date("w", strtotime("2016-08-05"));
  39. echo date("w", strtotime("2016-08-06"));
  40. echo date("w", strtotime("2016-08-07"));
  41. */