## 獲取展會列表
~~~
接口說明:
~~~
+++
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": []
}
+++