【调度系统】广东民航医疗快线调度系统源代码
wanglizhong
2025-06-16 ae5b0a8c63979351028215b8fe8cdf4b0766c272
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
156
157
158
159
160
161
162
163
<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %> 
<% Session.CodePage=65001 %> 
<% Response.charset = "utf-8" %>
<!--#include virtual="/v3/inc/odbc.asp"-->
<!--#include virtual="/v3/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 -->
                <%menuleft=3%>
                <!--#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="">微信小程序登录接口</h2>
                        <div class="info">
                             
                        </div>
                    </div>
                    <!-- /firstHeading -->
                    <!-- bodyContent -->
                    <div id="bodyContent" class="bodyContent">
 
                                                <!-- bodytext -->
                        <p>登录凭证校验。通过 wx.login 接口获得临时登录凭证 code 后调用此接口换取微信OPENID完成登录流程。</p>
                        <p><b>发送API请求</b>
</p>
<pre>http请求方式: GET
<a href="<%=WEBURL%>/v3/weixin/getcode.php?APPID=<%=APPID%>&code=code&UnixTime=<%=ToUnixTime(now(),+8)%>" class="external free" rel="nofollow" target="_blank"><%=WEBURL%>/v3/weixin/getcode.php?method=weixin_Appid&APPID=APPID&UnixTime=UnixTime&Sign=Sign</a>
 
GET数据例子:
APPID=<%=APPID%>
code=code
UnixTime=<%=ToUnixTime(now(),+8)%>
GET请求格式:<%=WEBURL%>/v3/weixin/getcode.php?APPID=<%=APPID%>&UnixTime=<%=ToUnixTime(now(),+8)%>
</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> APPID</td>
    <td> 是</td>
    <td> 商户APPID</td>
    <td> <%=APPID%></td>
</tr>
<tr>
    <td> code</td>
    <td> 是</td>
    <td> 登录时获取的 code,可通过<a href="https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.login.html">wx.login</a>获取</td>
    <td> </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>
{
    "openid":"xxxxxx",
    "session_key":"xxxxx",
    "unionid":"xxxxx",
    "errcode":0,
    "errmsg":"xxxxx"
}
</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> errmsg</td>
    <td> 是</td>
    <td> String</td>
    <td> 错误信息</td>
    <td> 0</td>
</tr>
<tr>
    <td> openid</td>
    <td> 是</td>
    <td> String</td>
    <td> 用户唯一标识</td>
    <td> </td>
</tr>
<tr>
    <td> unionid</td>
    <td> 是</td>
    <td> String</td>
    <td> 用户在开放平台的唯一标识符,若当前小程序已绑定到微信开放平台账号下会返回,详见 <a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/union-id.html">UnionID 机制说明。</a></td>
    <td> </td>
</tr>
<tr>
    <td> session_key</td>
    <td> 是</td>
    <td> String</td>
    <td> 会话密钥</td>
    <td> </td>
</tr>
<tr>
    <td> errcode</td>
    <td> 是</td>
    <td> String</td>
    <td> 错误码</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>