10. 返回所有条码规则名称和id
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>返回所有条码规则名称和id</li>
</ul>
<h5>接口维护负责人:周智鸿,陈谦</h5>
<h5>请求URL</h5>
<ul>
<li><code>http://172.17.10.52:8080/pyapi/all_rule</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get </li>
</ul>
<h5>请求参数</h5>
<p>无</p>
<h5>请求示例</h5>
<p>无</p>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: [
{
&quot;ID&quot;: 4741890683676131329,
&quot;RuleName&quot;: &quot;PH-50AB&quot;
},
{
&quot;ID&quot;: 4741899472827580417,
&quot;RuleName&quot;: &quot;RP-54AB&quot;
},
{
&quot;ID&quot;: 4641875218896287026,
&quot;RuleName&quot;: &quot;SX-s1&quot;
},
{
&quot;ID&quot;: 4747059915791532033,
&quot;RuleName&quot;: &quot;test&quot;
},
{
&quot;ID&quot;: 4749486770700156929,
&quot;RuleName&quot;: &quot;test1&quot;
},
{
&quot;ID&quot;: 4749486946491826177,
&quot;RuleName&quot;: &quot;test2&quot;
},
{
&quot;ID&quot;: 4741901545782640641,
&quot;RuleName&quot;: &quot;YWQ3-110AB&quot;
}
],
&quot;msg&quot;: &quot;success&quot;
}</code></pre>
<h5>返回参数说明</h5>
<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;">RuleName</td>
<td style="text-align: left;">nvarchar</td>
<td>条码规则名称</td>
</tr>
</tbody>
</table>
<h5>备注</h5>