串码查询接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>串码查询接口(延保调用)</li>
</ul>
<p><strong>请求URL:</strong> 顾客查看发票列表接口</p>
<ul>
<li><code>http://moa.58lz.com:803/api/OGBAPP/store?mode=qrySeria&amp;client_secret=*******</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;">custphone</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户手机号</td>
</tr>
<tr>
<td style="text-align: left;">seriano</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>串码</td>
</tr>
<tr>
<td style="text-align: left;">seriatype</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;">iomode</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>(0-库存,1-销售,2-其他出库) 默认不传递</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>
{
&quot;revcode&quot;: 0,
&quot;revmsg&quot;: &quot;ok&quot;
}
**返回参数说明**
|参数名|类型|说明|
|:----- |:-----|----- |
|revcode |int |200成功,400失败 |
|revmsg |string |返回提示词 |
|revobj |json |查询串码详情 200时,返回 |
|&amp;nbsp;&amp;lfloor; seriano |string |主串码 |
|&amp;nbsp;&amp;lfloor; seriano1 |string |备串码 |
|&amp;nbsp;&amp;lfloor; spcode |string |erp(物料)编码 |
|&amp;nbsp;&amp;lfloor; spname |string |商品(物料)名称 |
|&amp;nbsp;&amp;lfloor; status |int |0-库存,1-销售,2-其他 |
|&amp;nbsp;&amp;lfloor; salshop |string |销售门店 |
|&amp;nbsp;&amp;lfloor; salemper |string |销售人员 |
|&amp;nbsp;&amp;lfloor; saldate |string |销售日期(YYYY-MM-dd) |
|&amp;nbsp;&amp;lfloor; custno |string |购买的会员编码 |
|&amp;nbsp;&amp;lfloor; custname |string |购买的顾客姓名 |
**备注**
- 更多返回错误代码请看首页的错误代码描述</code></pre>