简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2026-07-24

请求URL:

  • 请求方式:

  • ws

请求头:

参数名 是否必须 类型 说明

公共请求参数:

参数名 是否必须 类型 说明
action string 固定值【call】
interface array 固定值【onLine】
params.fd string 推送id,连接成功有返回
params.store_id string 门店id
params.type string 设备端【kds=厨房端】
params.identifier string 唯一标识

发送示例:

{
    "action": "call",
    "interface": "onLine",
    "params": {
        "type": "store",
        "store_id": 1,
        "fd": 2
    }
}

返回示例:

正确时返回:

{
    "type": "call_result",
    "interface": "onLine",
    "data": {
        "status": 200,
        "msg": "上线绑定成功"
    }
}

错误时返回:

data返回参数说明:

参数名 类型 说明

备注:

作者:admin  创建时间:2026-07-24 22:03
最后编辑:admin  更新时间:2026-08-12 13:10