“立即支付” 查询用户余额和实际需要支付金额
<p><strong>接口描述:</strong></p>
<ul>
<li><a href="http://localhost:8060/apiweb/jt/atsubpackagepurrecord/viewmemberAccountPayInfo">http://localhost:8060/apiweb/jt/atsubpackagepurrecord/viewmemberAccountPayInfo</a>
购买页面--》立即支付 调用接口(返回用户账户余额和本次需支付金额)</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/jt/atsubpackagepurrecord/viewmemberAccountPayInfo</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>请求参数:JSON格式</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">描述</th>
<th style="text-align: left;">必填</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">amount</td>
<td style="text-align: left;">BigDecimal</td>
<td style="text-align: left;">套餐金额</td>
<td style="text-align: left;">是</td>
</tr>
</tbody>
</table>
<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>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">响应代码</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">响应描述</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">json</td>
<td style="text-align: left;">业务数据</td>
</tr>
</tbody>
</table>
<p><strong>响应data参数:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">long</td>
<td style="text-align: left;">套餐id</td>
</tr>
<tr>
<td style="text-align: left;">autualPay</td>
<td style="text-align: left;">decimal</td>
<td style="text-align: left;">实际需支付金额</td>
</tr>
<tr>
<td style="text-align: left;">userBalance</td>
<td style="text-align: left;">decimal</td>
<td style="text-align: left;">用户账户余额</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
&quot;amount&quot;:19.8
}</code></pre>
<p><strong>响应示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;操作成功&quot;,
&quot;data&quot;: [
{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;操作成功&quot;,
&quot;data&quot;: {
&quot;autualPay&quot;: 19.8,
&quot;userBalance&quot;: 0
}
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>