点餐收银端

石化点餐项目


用户列表

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>用户列表接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://food.taihuyun.vip/api/foodcash.user/list?applet_id=1&amp;shop_id=1&amp;token=8014374705939b271a346001006d8aa5&amp;type=1&amp;key_words=&amp;page=432</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> <tr> <td style="text-align: left;">key_words</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>可以为空,搜索关键字电话,姓名</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>查询类型;1:职工信息;2友好单位;3:散客</td> </tr> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>页码</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 1, "msg": "success", "data": { "total": 6470, "per_page": 15, "current_page": 432, "last_page": 432, "data": [ { "id": 6474, "open_id": "gzLf4iYhEKhThUVHtFjWlg", "user_id": 0, "name": "厉害", "mobile": "13659955375", "gender": "先生", "avatar": "https://food.taihuyun.vip/assets/img/avatar.png", "card_no": "asdfgh", "id_card": "650102199507191628", "wallet": "0,1,2,3", "job_no": "", "department_id": 5, "card_status": 0, "card_type": 0, "schedule": 0, "create_time": "2022-11-17 12:16:44", "update_time": "2022-11-17 12:16:44", "recent_pay": "未消费", "pay_rst": "无", "department_name": "公用工程一车间" }, { "id": 6477, "open_id": "8cacSV8pg7fW0Ed7ffiXBA", "user_id": 56, "name": "joe", "mobile": "17501509166", "gender": "女士", "avatar": "https://oss.onecard.taihuyun.vip/uploads/admin/avatar/kXZD1dMG6OvFqDBZ4SAOCIOKuKcMjaok可乐图片.jpeg", "card_no": "131236", "id_card": "450923199203085963", "wallet": "0,1,2,3", "job_no": "", "department_id": 76, "card_status": 0, "card_type": 0, "schedule": 0, "create_time": "2022-11-18 16:08:30", "update_time": "2022-11-21 10:09:55", "recent_pay": "¥8.00", "pay_rst": "未结", "department_name": "物资采购部" }, { "id": 6494, "open_id": "zxskyGucCU1pywrmf3tSHQ", "user_id": 60, "name": "刘小壹", "mobile": "17712366760", "gender": "先生", "avatar": "https://food.taihuyun.vip/assets/img/avatar.png", "card_no": "123457", "id_card": "110101199005106057", "wallet": "0,1,2,3", "job_no": "", "department_id": 78, "card_status": 0, "card_type": 0, "schedule": 2, "create_time": "2022-11-25 11:40:09", "update_time": "2022-11-25 11:41:06", "recent_pay": "¥41.50", "pay_rst": "已结", "department_name": "信息管理部" } ] } }</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;">name</td> <td style="text-align: left;">string</td> <td>用户</td> </tr> <tr> <td style="text-align: left;">mobile</td> <td style="text-align: left;">string</td> <td>手机号</td> </tr> <tr> <td style="text-align: left;">gender</td> <td style="text-align: left;">string</td> <td>性别</td> </tr> <tr> <td style="text-align: left;">avatar</td> <td style="text-align: left;">string</td> <td>头像</td> </tr> <tr> <td style="text-align: left;">card_no</td> <td style="text-align: left;">string</td> <td>卡号</td> </tr> <tr> <td style="text-align: left;">department_id</td> <td style="text-align: left;">int</td> <td>部门ID</td> </tr> <tr> <td style="text-align: left;">department_name</td> <td style="text-align: left;">string</td> <td>部门名称</td> </tr> <tr> <td style="text-align: left;">pay_rst</td> <td style="text-align: left;">string</td> <td>结算状态</td> </tr> <tr> <td style="text-align: left;">recent_pay</td> <td style="text-align: left;">string</td> <td>消费金额</td> </tr> <tr> <td style="text-align: left;">create_begin</td> <td style="text-align: left;">string</td> <td>创建日期</td> </tr> <tr> <td style="text-align: left;">update_time</td> <td style="text-align: left;">string</td> <td>更新时间</td> </tr> <tr> <td style="text-align: left;">total</td> <td style="text-align: left;">int</td> <td>总页数</td> </tr> <tr> <td style="text-align: left;">per_page</td> <td style="text-align: left;">int</td> <td>一页有几条</td> </tr> <tr> <td style="text-align: left;">current_page</td> <td style="text-align: left;">int</td> <td>当前页码</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看基本参数中的参数说明</li> </ul>

页面列表

ITEM_HTML