点餐收银端

石化点餐项目


登录

[TOC]

简要描述
  • 用户登录接口
请求URL
  • https://food.taihuyun.vip/api/foodcash.user/login
请求方式
  • POST
参数
参数名 必选 类型 说明
applet_id string 应用程序ID
shop_id string 门店ID
token string 用户身份验证的令牌
user_name string 用户名
password string 密码
返回示例
 {
    "code": 1,
    "msg": "success",
    "data": {
        "user": {
            "shop_clerk_id": 8,
            "shop_id": 1,
            "real_name": "吴天宇",
            "mobile": "17320038823",
            "pwd": "625df02823082763d377dc21464e1ddb",
            "status": {
                "text": "店长",
                "value": 20
            },
            "user_id": 6,
            "applet_id": 1,
            "last_login_datetime": "2023-01-11 17:02:52",
            "create_time": "2022-06-14 18:56:41",
            "update_time": "2023-01-11 17:02:30",
            "user": {
                "user_id": 6,
                "union_id": "oV9Ls0gOSe05KV4UZXUR3s3KkeQ0",
                "open_id": "ov9ED0e9NnXRBPuGhkmG_jh-yztI",
                "user_type": 1,
                "user_name": "",
                "password": "",
                "nickname": "老张",
                "avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/kdpzicPlXq8vsXAqegmZG4Ft7rqcoAf7zNcssUcJ6KJiawly55FApBp8lf3COp8wtJHIs2hslARRibtYFzU1BkCMg/132",
                "gender": "未知",
                "country": "",
                "province": "",
                "city": "",
                "money": "0.00",
                "linkman": "",
                "phone": "18742045357",
                "pay": "0.01",
                "score": 0,
                "converted": 0,
                "v": 1,
                "birthday": "",
                "address_id": 0,
                "recommender": {
                    "text": "平台推荐",
                    "value": 0
                },
                "status": {
                    "text": "用户",
                    "value": 10
                },
                "platform": {
                    "text": "微信",
                    "value": 10
                },
                "is_subscribe": 0,
                "agent_id": 0,
                "login_count": 0,
                "applet_id": 1,
                "identity": {
                    "text": "燃除车间",
                    "value": 60,
                    "company_text": "燃除车间",
                    "company_value": 60
                },
                "position": {
                    "text": "",
                    "value": 0
                },
                "department_id": {
                    "value": 0,
                    "text": "全部"
                },
                "auth": "",
                "work_no": "0000000",
                "card_no": "00000002",
                "is_del": 0,
                "create_time": "2022-10-19 18:55:49",
                "update_time": "2022-12-28 13:10:14",
                "details": {},
                "usable": 0
            },
            "token": "fc1e67069cf097e1f149517634f2f767",
            "shop": {
                "shop_id": 1,
                "shop_name": "石化民族大食堂",
                "shop_category_id": 0,
                "logo": "https://food.taihuyun.vip/uploads/20220601/7c2648c6504b69c9bccafb7939060e81.png",
                "front": "https://food.taihuyun.vip/uploads/20220530/44fbcb66ae95e40c87d24493edf8b2da.png",
                "linkman": "sky",
                "phone": "15358052238",
                "shop_hours": "00:00 - 23:59",
                "province": "新疆维吾尔自治区",
                "city": "乌鲁木齐市",
                "district": "米东区",
                "address": "新疆乌鲁木齐市",
                "coordinate": "43.975522,87.659912",
                "poi_id": "656761524125795479",
                "summary": "清真,美味",
                "tang_mode": 1,
                "is_order": {
                    "text": "开启",
                    "value": 1
                },
                "is_delivery": {
                    "text": "开启",
                    "value": 1
                },
                "delivery": "self",
                "is_grab": {
                    "text": "开启",
                    "value": 1
                },
                "status": {
                    "text": "营业中",
                    "value": 1,
                    "status": 1
                },
                "out_show": {
                    "text": "显示",
                    "value": 1
                },
                "sort": 100,
                "sf_shop_id": "",
                "dada_shop_id": "",
                "make_shop_id": "",
                "applet_id": 1,
                "is_team": 0,
                "create_time": "2022-05-27 00:18:48",
                "update_time": "2022-11-14 17:46:24"
            }
        }
    }
}
返回参数说明
  • 返回状态代码: 200
参数名 类型 说明
real_name string 用户名称
mobile string 电话号码
status.value int 身份说明:10:店员;20:店长
shop.shop_name string 门店名称
备注
  • 更多返回错误代码请看基本参数中的参数说明

页面列表

ITEM_HTML