9.1客户端取号


  说明

此接口用于门店终端获取一个新的排队号码


  请求地址

http://api.dc78.cn/Api/wwget


  请求方式

GET


  请求参数

URL参数
参数名称必填描述范例
type
类型



phone
电话



count
人数



POST参数
参数名称必填描述范例




GET参数参数名称必填描述范例
type
桌台类型

桌台的类型,如ABCD
C
phone
电话

手机号
138888888
count
人数

消费的人数
8

  返回

{
    "status": 1,
    "info": "ok",

    "id": 28768,

    "num": "C007",

    "wsn": 5,

}
返回status非1为出错,info中返回错误信息。



  INI格式返回

[result]

status=1

info=ok

id=28768

num=C007

wsn=5


[result]描述

status=1

info=ok

id=28768

num=C007

wsn=5

  INI接口格式

[action]
描述

action=wwget
[get]
描述

type=C

phone=138888888

count=8
[post]
描述