【调度系统】广东民航医疗快线调度系统源代码
wanglizhong
2025-05-05 14553e97825d8c112ce2c40275e0c71b79fe3121
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
<% @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 -->
                <%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>获取小程序码,适用于需要的码数量极多的业务场景。通过该接口生成的小程序码,永久有效,数量暂无限制。 </p>
                        <p><b>发送API请求</b>
</p>
<pre>http请求方式: GET
<a href="<%=WEBURL%>/weixin/weixin_code.php?APPID=<%=APPID%>&UnixTime=<%=ToUnixTime(now(),+8)%>" class="external free" rel="nofollow" target="_blank"><%=WEBURL%>/weixin/?method=weixin_Appid&APPID=APPID&UnixTime=UnixTime&Sign=Sign</a>
 
GET数据例子:
APPID=<%=APPID%>
UnixTime=<%=ToUnixTime(now(),+8)%>
GET请求格式:<%=WEBURL%>/weixin/weixin_code.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> scene</td>
    <td> 否</td>
    <td> 最大32个可见字符,只支持数字,大小写英文以及部分特殊字符:!#$&'()*+,/:;=?@-._~,其它字符请自行编码为合法字符(因不支持%,中文无法使用 urlencode 处理,请使用其他编码方式)</td>
    <td> Rid4/Iid85</td>
</tr>
<tr>
    <td> page</td>
    <td> 否</td>
    <td> 必须是已经发布的小程序存在的页面(否则报错),例如 pages/index/index, 根路径前不要填加 /,不能携带参数(参数请放在scene字段里),如果不填写这个字段,默认跳主页面</td>
    <td> pages/index/index</td>
</tr>
<tr>
    <td> width</td>
    <td> 否</td>
    <td> 二维码的宽度,单位 px,最小 280px,最大 1280px</td>
    <td> 430</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>
 
</pre>
 
<!-- 
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>