【调度系统】广东民航医疗快线调度系统源代码
wzp
2024-12-06 0df39a8c5a45c6ff25411eace15d40a606f9769c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php //require '../inc/odbc.php';?>
<?php
$method=empty($_REQUEST['method'])!=false ? "" : addslashes($_REQUEST['method']);
//$UserID=empty($_REQUEST['UserID'])!=false ? 0 : addslashes($_REQUEST['UserID']);
//if (!empty($tjx_UserID) and empty($UserID)) {$UserID=$tjx_UserID;}
$result=2;
$json="";
switch ($method)
{
    case "DayDate":    //当日班表
 
        $json = "[
            {
              \"title\": \"Event Meeting 1\",
              \"start\": \"2017-01-15\",
              \"color\": \"#FFBD4A\",
              \"Scheduling\": \"2017-01-15\"
            },
            {
              \"title\": \"Birthday Party\",
             \"start\": \"2017-01-15\",
              \"color\": \"#FC8AB1\",
              \"Scheduling\": \"2017-01-15\"
            }
          ]";
        $json = "{\"method\":\"DayDate\",\"result\":1,\"jsonStr\":".$json."}";
    break;
 
}
echo $json;
 
exit;
?>