【调度系统】广东民航医疗快线调度系统源代码
wzp
2024-12-05 9dc0d99742f5526321e1b5fdb0dec10e6725415e
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %> 
<% Session.CodePage=65001 %> 
<% Response.charset = "utf-8" %>
<!--#include virtual="/inc/odbc.asp"-->
<!--#include virtual="/inc/function.asp"-->
<head>
<meta charset="UTF-8">
<title>API开发文档-<%=WEBNAME%></title>
<meta name="generator" content="MediaWiki 1.17.0">
<link rel="stylesheet" href="css.css">
<!--[if lt IE 7]><style type="text/css">body{behavior:url("/wiki/skins/vector/csshover.min.htc")}</style><![endif]-->
 
 
</head>
<body class="mediawiki ltr ns-0 ns-subject skin-vector">
 
 
<div class="mainwrapper">
            <div class="inner">
                <!-- panel -->
                <!--#include FILE="menu_left.asp"-->
                <!-- /panel -->
                <!-- content -->
                <div id="content">
 
                    <div id="mw-js-message" style="display:none;"></div>
                                        <!-- firstHeading -->
                    <div class="content_hd">
                        <h2 id="firstHeading" class="">API接口规范说明</h2>
                        <div class="info">
                             
                        </div>
                    </div>
                    <!-- /firstHeading -->
                    <!-- bodyContent -->
                    <div id="bodyContent" class="bodyContent">
 
                                                <!-- bodytext -->
                        <p>API接口调用(http请求)简单方便,无需掌握数据库技术及相关技术,只需根据页面特点,选择相应的API服务即可搭建一套数据服务。</p>
                        <p><b>发送API测试请求</b>
</p>
<pre>http请求方式: GET接口
<a href="<%=WEBURL%>/v1/?method=APITest&APPID=<%=APPID%>&Test=TestData&OrdDateType=TestData&UnixTime=<%=ToUnixTime(now(),+8)%>&Sign=d179acc75fdc9abb78bf7557fc608082" class="external free" rel="nofollow" target="_blank"><%=WEBURL%>/v1/</a>
 
GET数据例子:
method=APITest
APPID=<%=APPID%>
UnixTime=<%=ToUnixTime(now(),+8)%>
Test=TestData
Sign=d179acc75fdc9abb78bf7557fc608082
GET请求格式:<%=WEBURL%>/v1/?method=APITest&Test=TestData&UnixTime=<%=ToUnixTime(now(),+8)%>&Sign=d179acc75fdc9abb78bf7557fc608082
</pre>
<p><b>参数说明</b>
</p>
<table border="1" cellspacing="0" cellpadding="4" align="center" width="80%">
<tbody><tr>
    <th style="width:100px">参数</th>
    <th style="width:100px">是否必须</th>
    <th style="width:300px">说明</th>
    <th style="width:300px">例子</th>
</tr>
<tr>
    <td> method</td>
    <td> 是</td>
    <td> 接口名称</td>
    <td> APITest</td>
</tr>
<tr>
    <td> APPID</td>
    <td> 是</td>
    <td> 商户APPID</td>
    <td> <%=APPID%></td>
</tr>
<tr>
    <td> Test</td>
    <td> 否</td>
    <td> 测试连接数据</td>
    <td> TestData</td>
</tr>
<tr>
    <td> UnixTime</td>
    <td> 是</td>
    <td> 时间戳</td>
    <td> <%=ToUnixTime(now(),+8)%></td>
</tr>
<tr>
    <td> Sign</td>
    <td> 是</td>
    <td> 签名</td>
    <td> 签名,详见<a href="Sign.gds?APPID=<%=APPID%>" class="external free" rel="nofollow" target="_blank">签名生成算法</a></td>
</tr>
</tbody></table>
<p><b>返回说明</b>
正常情况下,系统会返回下述JSON数据包:
</p>
<pre>
{
    "method":"APITest",
    "result":1,
    "Test":"TestData"
}
</pre>
<p><b>返回参数说明</b>
</p>
<table border="1" cellspacing="0" cellpadding="4" align="center" width="80%">
<tbody><tr>
    <th style="width:100px">参数</th>
    <th style="width:100px">是否必须</th>
    <th style="width:100px">参数类型</th>
    <th style="width:300px">说明</th>
    <th style="width:300px">例子</th>
</tr>
<tr>
    <td> method</td>
    <td> 是</td>
    <td> String</td>
    <td> 接口名称</td>
    <td> APITest</td>
</tr>
<tr>
    <td> result</td>
    <td> 是</td>
    <td> Int</td>
    <td> 处理结果:1-成功,2-失败</td>
    <td> </td>
</tr>
<tr>
    <td> Test</td>
    <td> 否</td>
    <td> String</td>
    <td> Test数据</td>
    <td> </td>
</tr>
 
</tbody></table>
 
<!-- 
NewPP limit report
Preprocessor node count: 1/1000000
Post-expand include size: 0/2097152 bytes
Template argument size: 0/2097152 bytes
Expensive parser function count: 0/100
-->
                        <!-- /bodytext -->
                                                <!-- catlinks -->
                        <div id="catlinks" class="catlinks catlinks-allhidden"></div>                        <!-- /catlinks -->
                                                                        <div class="visualClear"></div>
                    </div>
                    <!-- /bodyContent -->
                </div>
                <!-- /content -->
                
            </div>
        </div>
</body>