|
- <?php
- require_once '../php_include/zizai_api.inc';
-
- $result_info = run_list(API_USER,API_PASSWORD);
- print_r($result_info);
- echo "<hr />";
- $result_array = get_disney_info("2016-08-31");
- print_r($result_array);
- echo "<hr />";
- //$result_array = gorun(API_USER,API_PASSWORD, "SHDSN2","2016-08-28");
- $result_array = get_disney_info2("2016-08-31");
- print_r($result_array);
- echo "<hr />";exit();
-
-
- /*
- $result_info = login_api( API_USER,API_PASSWORD );
- print_r($result_info);
- exit();
-
- $result_array = gorun(API_USER,API_PASSWORD, DISNEY_CODE3,"2016-08-04");
- $run_id = $result_array["go_run_list"]["run"]["runid"];
- $result_array = ticket( API_USER,API_PASSWORD, DISNEY_CODE3, $run_id);
- print_r($result_array);
- exit();
- $ticket_array = get_disney_info("2016-08-04");
- print_r($ticket_array);
- echo "<hr />";
-
- $ticket_array = get_disney_info2("2016-08-04");
- print_r($ticket_array);
- echo "<hr />";
-
- $ticket_array = get_disney_info3("2016-08-04");
- print_r($ticket_array);
- echo "<hr />";
- */
-
- //$limit_time = date("Y-m-d H:i:s", strtotime("- 10minutes"));
- /*
- echo date("w", strtotime("2016-08-01"));
- echo date("w", strtotime("2016-08-02"));
- echo date("w", strtotime("2016-08-03"));
- echo date("w", strtotime("2016-08-04"));
- echo date("w", strtotime("2016-08-05"));
- echo date("w", strtotime("2016-08-06"));
- echo date("w", strtotime("2016-08-07"));
-
-
-
- */
-
-
|