查询一级规格列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>查询一级规格列表</li>
</ul>
<p><strong>作者:</strong> </p>
<ul>
<li>徐辉</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/xtwl_read_interface/cmd</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;">custId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>客户ID</td>
</tr>
<tr>
<td style="text-align: left;">parSearch</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>一级规格搜索内容</td>
</tr>
<tr>
<td style="text-align: left;">sonSearch</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;version&quot;: &quot;1.0&quot;,
&quot;modular&quot;:&quot;goods&quot;,
&quot;requestname&quot;:&quot;queryOpParProList&quot;,
&quot;param&quot;: {
&quot;authKey&quot;: &quot;0&quot;,
&quot;userKey&quot;: &quot;0&quot;,
&quot;timeStamp&quot;: &quot;3423452353454&quot;,
&quot;secretKey&quot;: &quot;加密后的秘钥串&quot; ,
&quot;uuid&quot;: &quot;java的uuid&quot;,
&quot;dtype&quot;: &quot;2&quot;,
&quot;custId&quot;: &quot;客户ID&quot;,
&quot;parSearch&quot;: &quot;一级规格搜索内容&quot;,
&quot;sonSearch&quot;: &quot;二级规格搜索内容&quot;
}
}</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;">count</td>
<td style="text-align: left;">int</td>
<td>添加的一级规格数量</td>
</tr>
<tr>
<td style="text-align: left;">proId</td>
<td style="text-align: left;">string</td>
<td>属性ID</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">string</td>
<td>类别:1规格名/属性名称,2规格值/属性值</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">string</td>
<td>名称</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;resultcode&quot;: &quot;0&quot;,
&quot;resultdesc&quot;:&quot;success&quot;,
&quot;result&quot;: {
&quot;count&quot;: 1,
&quot;list&quot;:[
{&quot;proId&quot;:2,
&quot;type&quot;:1
&quot;name&quot;:&quot;1&quot;
}]
}
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>