2.获取服务费购买套餐列表-new
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取看到的套餐列表(服务费购买列表)</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://login.richx.cn/replaceRecharge/getOrderMessageListByApiKeyForParentNew.do</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;">schoolId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">long</td>
<td>学校id</td>
</tr>
<tr>
<td style="text-align: left;">apiKey</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>apiKey</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;ResponseCode&quot;: 0,
&quot;ResponseResult&quot;: &quot;获取成功&quot;,
&quot;ResponseObject&quot;: [
{
&quot;productId&quot;: 60,
&quot;name&quot;: &quot;个人套菜时间002&quot;,
&quot;price&quot;: 0.03,
&quot;startTime&quot;: &quot;2017&quot;,
&quot;endTime&quot;: &quot;2017学年&quot;,
&quot;type&quot;: 0,
&quot;user&quot;: {
&quot;cardPay&quot;: 1,
&quot;parentname&quot;: &quot;陶明月&quot;,
&quot;clazzId&quot;: 34,
&quot;clazzName&quot;: &quot;三年二班&quot;,
&quot;userId&quot;: 39644,
&quot;realName&quot;: &quot;小陶&quot;,
&quot;parentId&quot;: 307,
&quot;isPayOther&quot;: 1,
&quot;isGratis&quot;: 1,
&quot;isBuyServiceFee&quot;: 1
},
&quot;cardPrice&quot;: 0.01,
&quot;servicePrice&quot;: 0.01,
&quot;otherPrice&quot;: 0.01,
&quot;smsPrice&quot;: 0
}
]
}</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;">type</td>
<td style="text-align: left;">int</td>
<td>0包时间段 1 单价/每条</td>
</tr>
<tr>
<td style="text-align: left;">user.isGratis</td>
<td style="text-align: left;">int</td>
<td>0免服务费 1需交服务费</td>
</tr>
<tr>
<td style="text-align: left;">user.isPayOther</td>
<td style="text-align: left;">int</td>
<td>0:其他费用已支付1:未支付</td>
</tr>
<tr>
<td style="text-align: left;">user.isBuyServiceFee</td>
<td style="text-align: left;">int</td>
<td>0:服务费已支付1:未支付</td>
</tr>
<tr>
<td style="text-align: left;">cardPrice</td>
<td style="text-align: left;">double</td>
<td>卡押金</td>
</tr>
<tr>
<td style="text-align: left;">servicePrice</td>
<td style="text-align: left;">double</td>
<td>服务费</td>
</tr>
<tr>
<td style="text-align: left;">otherPrice</td>
<td style="text-align: left;">double</td>
<td>其他</td>
</tr>
<tr>
<td style="text-align: left;">user.cardPay</td>
<td style="text-align: left;">int</td>
<td>0:卡押金已支付,1:卡押金未未支付 ,2:没有卡押金</td>
</tr>
<tr>
<td style="text-align: left;">price</td>
<td style="text-align: left;">int</td>
<td>应付金额,1:如果卡押金和服务费都没买,为二者这和,2:否则为其中没有购买价钱</td>
</tr>
<tr>
<td style="text-align: left;">payType</td>
<td style="text-align: left;">int</td>
<td>0:学校统一缴费 1:线上缴费,为0时所有学生家长显示所有服务费已购买</td>
</tr>
<tr>
<td style="text-align: left;">user.type</td>
<td style="text-align: left;">int</td>
<td>0免购买 1已购买 2立即购买 3无需购买</td>
</tr>
<tr>
<td style="text-align: left;">user.typeName</td>
<td style="text-align: left;">String</td>
<td>免购买 已购买 立即购买 无需购买</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>