点餐收银端

石化点餐项目


部门树结构

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>部门树结构接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://food.taihuyun.vip/api/foodcash.base/departments</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </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;">applet_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>应用程序ID</td> </tr> <tr> <td style="text-align: left;">shop_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>门店ID</td> </tr> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户身份验证的令牌</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 1, "msg": "success", "data": [ "id": "1", "title": "炼油厂", "subs": [ { "id": "2", "title": "油品销售车间" }, { "id": "3", "title": "焦沥车间" }, { "id": "4", "title": "化验室" }, { "id": "5", "title": "公用工程一车间" }, { "id": "6", "title": "轻烃车间" }, { "id": "7", "title": "油品车间" }, { "id": "8", "title": "炼油一车间" }, { "id": "9", "title": "化工车间" }, { "id": "10", "title": "加氢裂化车间" }, { "id": "11", "title": "炼油二车间" }, { "id": "12", "title": "精制车间" }, { "id": "13", "title": "芳烃车间" }, { "id": "14", "title": "人事科" }, { "id": "15", "title": "加氢车间" }, { "id": "16", "title": "公用工程二车间" }, { "id": "17", "title": "电修车间" }, { "id": "18", "title": "改性沥青区域" }, { "id": "19", "title": "气防站" }, { "id": "20", "title": "技术科" }, { "id": "21", "title": "仪表车间" }, { "id": "22", "title": "厂办" }, { "id": "23", "title": "机动科" }, { "id": "24", "title": "钳工车间" } ] ] }</code></pre> <h5>返回参数说明</h5> <ul> <li>返回状态代码: 200</li> </ul> <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;">title</td> <td style="text-align: left;">string</td> <td>一级部门标题名称</td> </tr> <tr> <td style="text-align: left;">subs.title</td> <td style="text-align: left;">string</td> <td>二级部门标题</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看基本参数中的参数说明</li> </ul>

页面列表

ITEM_HTML