销售品类型
<h5>简要描述</h5>
<ul>
<li>销售品类型</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://psipad.teemax.com.cn/pkgType!queryAllByShopId.ajax</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">shopId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>商户ID</td>
</tr>
<tr>
<td style="text-align: left;">companyId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>公司Id</td>
</tr>
<tr>
<td style="text-align: left;">pkgTypeVo.status</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>状态 固定传 open</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code></code></pre>
<p>{
"code": "success",
"data": {
"code": 200,
"description": "",
"token": "",
"uid": null,
"stackTrace": "",
"pkgTypeVo": null,
"pkgTypeVoList": [
{
"id": "2c90613a74689fce01746c75f8f60af6",
"companyId": "15",
"typeId": "2009081445048869825",
"upId": "",
"name": "饮料",
"status": "open",
"statusDate": 1599547504000,
"lvl": 1,
"pos": 0,
"createDate": 1599547504000,
"modifyDate": 1599547504000,
"shopId": null,
"pkgTypeId": null,
"children": [],
"typeInventory": 3,
"pkgPoList": null,
"salesNum": null,
"inventoryNum": null,
"inventoryPrice": null,
"icon": null
},
{
"id": "2c90613a74689fce01746c7610450af7",
"companyId": "15",
"typeId": "2009081445108538611",
"upId": "",
"name": "零食",
"status": "open",
"statusDate": 1599547510000,
"lvl": 1,
"pos": 0,
"createDate": 1599547510000,
"modifyDate": 1599547510000,
"shopId": null,
"pkgTypeId": null,
"children": [],
"typeInventory": 1,
"pkgPoList": null,
"salesNum": null,
"inventoryNum": null,
"inventoryPrice": null,
"icon": null
},
{
"id": "2c90613a74722757017472307eb0000a",
"companyId": "15",
"typeId": "2009091726548967943",
"upId": "",
"name": "水果",
"status": "open",
"statusDate": 1599643614000,
"lvl": 1,
"pos": 0,
"createDate": 1599643614000,
"modifyDate": 1599643614000,
"shopId": null,
"pkgTypeId": null,
"children": [],
"typeInventory": 2,
"pkgPoList": null,
"salesNum": null,
"inventoryNum": null,
"inventoryPrice": null,
"icon": null
},
{
"id": "2c90613a74689fce01746c7674810afa",
"companyId": "15",
"typeId": "2009081445365132064",
"upId": "",
"name": "饮品",
"status": "open",
"statusDate": 1599547536000,
"lvl": 1,
"pos": 0,
"createDate": 1599547536000,
"modifyDate": 1599547536000,
"shopId": null,
"pkgTypeId": null,
"children": [],
"typeInventory": 1,
"pkgPoList": null,
"salesNum": null,
"inventoryNum": null,
"inventoryPrice": null,
"icon": null
}
],
"sumInventory": 7,
"success": true,
"login": true
},
"description": ""
} </p>
<pre><code></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;"></td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>