C端-获取我认购的计划列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取我认购的计划列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/plans/plans/get-subscribe-list</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;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>筛选 2:进行中 3:结算</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>当前页 默认1</td>
</tr>
<tr>
<td style="text-align: left;">size</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>当前页条数 默认10</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
code:600
msg:&quot;我认购的计划列表&quot;
result:{
page: 1, // 当前页
size: 7, // 当前页条数
pages: 1, // 总页数
total: &quot;7&quot;, // 总条数
data:[
0:{
buy_money:&quot;1000.00&quot; // 认购金额
create_time:&quot;2017-07-28 14:20:06&quot; // 认购时间
cycle:&quot;30&quot; // 周期时间
end_time:&quot;2017-08-27 14:20:06&quot; // 结算时间
settlement_periods:&quot;30&quot; // 计划周期
settlement_type:&quot;1&quot;// 计划结算类型
status:&quot;2&quot; // 状态值
status_name:&quot;进行中&quot; // 状态值
store_name:&quot;xxx小铺&quot; // 发起人名
title:&quot;测试&quot; // 记挂标题
total_profit:null // 总利润
user_plan_id:&quot;1&quot; // 认购Id
1:{user_plan_id: &quot;2&quot;, buy_money: &quot;1000.00&quot;, total_profit: null, create_time: &quot;2017-07-28 14:30:19&quot;,…}
2:{user_plan_id: &quot;3&quot;, buy_money: &quot;1000.00&quot;, total_profit: null, create_time: &quot;2017-07-28 14:30:32&quot;,…}
3:{user_plan_id: &quot;4&quot;, buy_money: &quot;1000.00&quot;, total_profit: null, create_time: &quot;2017-07-28 14:30:40&quot;,…}
4:{user_plan_id: &quot;5&quot;, buy_money: &quot;1000.00&quot;, total_profit: null, create_time: &quot;2017-07-28 14:30:46&quot;,…}
5:{user_plan_id: &quot;6&quot;, buy_money: &quot;1000.00&quot;, total_profit: null, create_time: &quot;2017-07-28 14:30:51&quot;,…}
6:{user_plan_id: &quot;7&quot;, buy_money: &quot;1000.00&quot;, total_profit: null, create_time: &quot;2017-07-28 14:30:55&quot;,…}
]
}
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>