配送平台接口

配送平台接口


【【【【系统请求参数说明】】】】

<p><strong>简要描述:</strong> </p> <ul> <li>在每个登录后的小程序后台接口方法中,需要在httpheader中传入openid和id这两个参数,以便于验证用户是否已经登陆了,也就是验证用户的合法性。</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xxx.xxx.xxx.xxx:8886/delivery/所有的登陆以后的小程序方法</code> <a href="http://xxx.xxx.xxx.xxx:8886/delivery/">http://xxx.xxx.xxx.xxx:8886/delivery/</a> 这个是请求前缀 后面跟上 /backstage/XX/xx<br /> <strong>请求方式:</strong></li> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">openid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户签权openid ,注意,是在httpheader中,后台存储的默认过期时间是1个月或者半年</td> </tr> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户对应的id号 ,注意,是在httpheader中</td> </tr> </tbody> </table> <p><strong><strong><strong><strong><strong>**</strong></strong></strong></strong></strong>特别注意*<strong><strong><strong>****</strong></strong></strong> 如果请求体是空的,必须要传入 {} 不能什么都不传!</p> <p><strong>返回示例</strong></p> <pre><code>如果没有签权成功,接口会返回http401错误 </code></pre>

页面列表

ITEM_HTML