获取本账号信息
<p>[TOC]</p>
<h3>1. 获取本账号信息</h3>
<ul>
<li>
<p>更新时间:2022年10月12日 20时30分20秒</p>
</li>
<li>用于账户余额、最大区号数量个人账户信息</li>
</ul>
<p><strong>请求URL </strong></p>
<ul>
<li><code>https://服务器地址/sms/?api=getSummary&amp;token=令牌</code></li>
</ul>
<p><strong>请求方式</strong></p>
<ul>
<li>GET/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;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>令牌</td>
</tr>
</tbody>
</table>
<p><strong>返回成功示例</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;money&quot;: &quot;36.00&quot;,
&quot;num&quot;: 50
}</code></pre>
<p><strong>返回参数说明 </strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td>状态码,code=0,code=其他为失败</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td>中文描述</td>
</tr>
<tr>
<td style="text-align: left;">money</td>
<td>账户余额</td>
</tr>
<tr>
<td style="text-align: left;">num</td>
<td>最大区号数量</td>
</tr>
</tbody>
</table>
<p><strong>备注 </strong></p>
<ul>
<li>code=0,code=其他为失败</li>
<li>令牌为固定值,除用户修改密码,否则不会变,开发者在写软件的时候登录只请求一次获取到令牌后即可!</li>
</ul>