psi2.0pad


销售品类型

<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>{ &quot;code&quot;: &quot;success&quot;, &quot;data&quot;: { &quot;code&quot;: 200, &quot;description&quot;: &quot;&quot;, &quot;token&quot;: &quot;&quot;, &quot;uid&quot;: null, &quot;stackTrace&quot;: &quot;&quot;, &quot;pkgTypeVo&quot;: null, &quot;pkgTypeVoList&quot;: [ { &quot;id&quot;: &quot;2c90613a74689fce01746c75f8f60af6&quot;, &quot;companyId&quot;: &quot;15&quot;, &quot;typeId&quot;: &quot;2009081445048869825&quot;, &quot;upId&quot;: &quot;&quot;, &quot;name&quot;: &quot;饮料&quot;, &quot;status&quot;: &quot;open&quot;, &quot;statusDate&quot;: 1599547504000, &quot;lvl&quot;: 1, &quot;pos&quot;: 0, &quot;createDate&quot;: 1599547504000, &quot;modifyDate&quot;: 1599547504000, &quot;shopId&quot;: null, &quot;pkgTypeId&quot;: null, &quot;children&quot;: [], &quot;typeInventory&quot;: 3, &quot;pkgPoList&quot;: null, &quot;salesNum&quot;: null, &quot;inventoryNum&quot;: null, &quot;inventoryPrice&quot;: null, &quot;icon&quot;: null }, { &quot;id&quot;: &quot;2c90613a74689fce01746c7610450af7&quot;, &quot;companyId&quot;: &quot;15&quot;, &quot;typeId&quot;: &quot;2009081445108538611&quot;, &quot;upId&quot;: &quot;&quot;, &quot;name&quot;: &quot;零食&quot;, &quot;status&quot;: &quot;open&quot;, &quot;statusDate&quot;: 1599547510000, &quot;lvl&quot;: 1, &quot;pos&quot;: 0, &quot;createDate&quot;: 1599547510000, &quot;modifyDate&quot;: 1599547510000, &quot;shopId&quot;: null, &quot;pkgTypeId&quot;: null, &quot;children&quot;: [], &quot;typeInventory&quot;: 1, &quot;pkgPoList&quot;: null, &quot;salesNum&quot;: null, &quot;inventoryNum&quot;: null, &quot;inventoryPrice&quot;: null, &quot;icon&quot;: null }, { &quot;id&quot;: &quot;2c90613a74722757017472307eb0000a&quot;, &quot;companyId&quot;: &quot;15&quot;, &quot;typeId&quot;: &quot;2009091726548967943&quot;, &quot;upId&quot;: &quot;&quot;, &quot;name&quot;: &quot;水果&quot;, &quot;status&quot;: &quot;open&quot;, &quot;statusDate&quot;: 1599643614000, &quot;lvl&quot;: 1, &quot;pos&quot;: 0, &quot;createDate&quot;: 1599643614000, &quot;modifyDate&quot;: 1599643614000, &quot;shopId&quot;: null, &quot;pkgTypeId&quot;: null, &quot;children&quot;: [], &quot;typeInventory&quot;: 2, &quot;pkgPoList&quot;: null, &quot;salesNum&quot;: null, &quot;inventoryNum&quot;: null, &quot;inventoryPrice&quot;: null, &quot;icon&quot;: null }, { &quot;id&quot;: &quot;2c90613a74689fce01746c7674810afa&quot;, &quot;companyId&quot;: &quot;15&quot;, &quot;typeId&quot;: &quot;2009081445365132064&quot;, &quot;upId&quot;: &quot;&quot;, &quot;name&quot;: &quot;饮品&quot;, &quot;status&quot;: &quot;open&quot;, &quot;statusDate&quot;: 1599547536000, &quot;lvl&quot;: 1, &quot;pos&quot;: 0, &quot;createDate&quot;: 1599547536000, &quot;modifyDate&quot;: 1599547536000, &quot;shopId&quot;: null, &quot;pkgTypeId&quot;: null, &quot;children&quot;: [], &quot;typeInventory&quot;: 1, &quot;pkgPoList&quot;: null, &quot;salesNum&quot;: null, &quot;inventoryNum&quot;: null, &quot;inventoryPrice&quot;: null, &quot;icon&quot;: null } ], &quot;sumInventory&quot;: 7, &quot;success&quot;: true, &quot;login&quot;: true }, &quot;description&quot;: &quot;&quot; } </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>

页面列表

ITEM_HTML