## 获取展会列表
~~~
接口说明:
~~~
+++
post:127.0.0.1/total_exhibition/public/index.php/new_pda/get_exhibition_list
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data": [
{
"id": 83,
"name": "第十二届工程管理论坛"
}
]
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 获取展馆列表
~~~
接口说明:
~~~
+++
post:127.0.0.1/total_exhibition/public/index.php/new_pda/get_areas
*exhibition_id=展会ID#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data": [
{
"id": 4,
"name": "不存在3",
"area_div_id": "dragDiv-4" //以这个参数获取相关的门禁点
}
]
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 获取展馆门禁点列表
~~~
接口说明:
~~~
+++
post:127.0.0.1/total_exhibition/public/index.php/new_pda/get_access_points
*exhibition_id=展会ID#
*area_div_id=展馆area_div_id#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data": [
{
"id": 57,
"area_id": "dragDiv-2",
"device_type": 3,
"name": "PDA5",
"ap_div_id": "7",
"status": 1
}
]
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 获取需要扫码的数据
~~~
接口说明:
~~~
+++
post:127.0.0.1/total_exhibition/public/index.php/new_pda/get_badge_user_data
*exhibition_id=展会ID#
maximum_id=最大ID#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data": [
{
"id": 853115, //条码ID
"badge_no": "17LEHKBTUK1", //条码
"registers_id": 83114,
"name": "测试",
"mobile": "13510156108",
"email": "16251727@qq.com",
"company": "测试",
"id_number": ""
}
]
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 查询单个条码接口
~~~
接口说明:
~~~
+++
post:127.0.0.1/total_exhibition/public/index.php/new_pda/find_badge
*exhibition_id=展会ID#
*equipment_id=设备唯一标识#
*areas_id=场馆ID#
*access_points_id=门禁点ID#
*badge_no=条码#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "查询成功",
"data": {
"id": 852330,
"badge_no": "17F4E2NBON",
"registers_id": 83204,
"name": "龚吓国",
"mobile": "",
"email": "",
"company": "惠安县崇武客记食品有限公司",
"id_number": ""
}
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 回传扫码结果数据
~~~
接口说明:
~~~
+++
post:127.0.0.1/total_exhibition/public/index.php/new_pda/backpass_data
*exhibition_id=展会ID#
*data=回传的数据#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "添加成功",
"data": []
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++