大平台——App客户端接口

App接口


提交订单页面改变收货地址

<p><strong>简要描述:</strong> </p> <ul> <li>提交订单页面改变收货地址 &quot;2001&quot;, &quot;超出配送范围&quot;</li> </ul> <p><strong>作者:</strong> </p> <ul> <li>沈聪</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>xtwl_read_interface/cmd/</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <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;">addressId</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>地址id(地址id跟经纬度必填其一)</td> </tr> <tr> <td style="text-align: left;">totalAmount</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>不加配送费的总价</td> </tr> <tr> <td style="text-align: left;">shopId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String</td> <td>商家id</td> </tr> <tr> <td style="text-align: left;">longitude</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>经度</td> </tr> <tr> <td style="text-align: left;">latitude</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>纬度</td> </tr> </tbody> </table> <p><strong>请求示例</strong></p> <pre><code>{ &amp;quot;version&amp;quot;: &amp;quot;1.0&amp;quot;, &amp;quot;modular&amp;quot;: &amp;quot;apporder&amp;quot;, &amp;quot;requestname&amp;quot;: &amp;quot;calculateAfterChange&amp;quot;, &amp;quot;param&amp;quot;: { &amp;quot;secretKey&amp;quot;: &amp;quot;24EA386DC7F7C6AECFE8D76955942FCE&amp;quot;, &amp;quot;addressId&amp;quot;: &amp;quot;7&amp;quot;, &amp;quot;totalAmount&amp;quot;: &amp;quot;7&amp;quot;, &amp;quot;shopId&amp;quot;: &amp;quot;7&amp;quot;, &amp;quot;authKey&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;userKey&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;timeStamp&amp;quot;: &amp;quot;1510116085468&amp;quot;, &amp;quot;uuid&amp;quot;: &amp;quot;47a1c5e4-e78c-4ded-8346-a1f3de0e5cd1&amp;quot;, &amp;quot;dtype&amp;quot;: 6 } }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">freight</td> <td style="text-align: left;">String</td> <td>配送费</td> </tr> <tr> <td style="text-align: left;">totalAmount</td> <td style="text-align: left;">String</td> <td>总金额(加上配送费)</td> </tr> <tr> <td style="text-align: left;">address</td> <td style="text-align: left;">String</td> <td>地址</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;result&amp;quot;: { &amp;quot;freight&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;address&amp;quot;:&amp;quot;&amp;quot; &amp;quot;totalAmount&amp;quot;: &amp;quot;&amp;quot; }, &amp;quot;resultcode&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;resultdesc&amp;quot;: &amp;quot;success&amp;quot; }</code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <hr />

页面列表

ITEM_HTML