大神项目app接口

大神项目app接口


新增收货地址接口

<p><strong>简要描述:</strong> </p> <ul> <li>新增我的收货地址</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>address/addressManage</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;">userId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户id</td> </tr> <tr> <td style="text-align: left;">json</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>地址json信息</td> </tr> </tbody> </table> <p>以下是json信息 { &quot;userName&quot;: &quot;&quot;, //收货人信息 &quot;phone&quot;: &quot;&quot;, //收货人手机号码 &quot;province&quot;: &quot;&quot;,//所在省份 &quot;city&quot;: &quot;&quot;, //所在城市 &quot;district&quot;: &quot;&quot;,//所在区县 &quot;detailInfo&quot;: &quot;&quot;//地址详情 }</p> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;result&amp;quot;: &amp;quot;success&amp;quot;,//保存地址成功 error保存地址失败 &amp;quot;msg&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;data&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <p><strong>返回参数说明</strong> |</p> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML