分享页数据
<p>欢迎使用ShowDoc!</p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取分享页数据接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>192.168.1.180:9090/adyx_mvc/api/orderNew/getSharePageInfo</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;">orderId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>订单id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>未登录,无领取记录
{
"code": 200,
"msg": "获取成功",
"success": true,
"data": {
"shareReceiveInfo": [],
"loginStatus": "0"
}
}
已登录,无领取记录
{
"code": 200,
"msg": "获取成功",
"success": true,
"data": {
"shareReceiveInfo": [],
"loginStatus": "1",
"userReceiveInfo": ""
}
}
已登录,有2条领取记录
{
"code": 200,
"msg": "获取成功",
"success": true,
"data": {
"shareReceiveInfo": [
{
"userName": "浪~天",
"receiveTime": "05-11 08:14",
"text": "就拒绝",
"couponName": "分享满减四"
},
{
"userName": "春日野穹",
"receiveTime": "07-02 15:17",
"text": "房贷首付多福多寿房东房东",
"couponName": "分享满减三"
}
],
"loginStatus": "1",
"userReceiveInfo": ""
}
}
已登录,当前用户已领取
{
"code": 200,
"msg": "获取成功",
"success": true,
"data": {
"shareReceiveInfo": [
{
"userName": "浪~天",
"receiveTime": "05-11 08:14",
"text": "就拒绝",
"couponName": "分享满减四"
},
{
"userName": "夷陵老祖魏无羡啊",
"receiveTime": "10-24 13:40",
"text": "发的设计费看电视剧",
"couponName": "分享满减一"
},
{
"userName": "琉璃",
"receiveTime": "05-08 11:02",
"text": "第三方第三方",
"couponName": "分享满减二"
},
{
"userName": "春日野穹",
"receiveTime": "07-02 15:17",
"text": "房贷首付多福多寿房东房东",
"couponName": "分享满减三"
}
],
"loginStatus": "1",
"userReceiveInfo": {
"account": "15850529026",
"couponName": "分享满减二"
}
}
}</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;">loginStatus</td>
<td style="text-align: left;">String</td>
<td>是否登录 0未登录 1已登录</td>
</tr>
<tr>
<td style="text-align: left;">shareReceiveInfo</td>
<td style="text-align: left;">String</td>
<td>所有领取记录</td>
</tr>
<tr>
<td style="text-align: left;">userReceiveInfo</td>
<td style="text-align: left;">String</td>
<td>当前用户领取记录</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>