获取分配、分享总数
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取分配、分享总数</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://ip:端口/count/getDispatchCount</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>post </p>
<p><strong>请求参数示例</strong></p>
</li>
</ul>
<pre><code>{
"dpType":"0",
"itemId":"xxxx"
}</code></pre>
<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;">dpType</td>
<td style="text-align: left;">可选</td>
<td style="text-align: left;">String</td>
<td>使用标识(0:内部分配1:外部分享)</td>
</tr>
<tr>
<td style="text-align: left;">itemId</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>{
"status":"0",
"message":"操作成功",
"result":{
"dispatchCount":7
}
}</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;">dispatchCount</td>
<td style="text-align: left;">int</td>
<td>总数</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>分配记录数传0,分享传1,获取分享链接时,不用传itemId</li>
</ul>