## 獲取用戶手機號
~~~
接口說明:
~~~
+++
post:https://lite.zou520.com/api/get_phone_number
*errMsg=狀態碼#
*iv=iv參數#
*encryptedData=encryptedData#
<<<
success
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "查詢成功",
"data": [
{
"id": 1,
"img": "https://lite-1256413004.cos.ap-guangzhou.myqcloud.com/lite/city1.jpg",
"area": "上海"
},
]
}
<<<
error
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "查詢成功",
"data": []
}
+++
## 添加用戶基本信息
~~~
接口說明:
~~~
+++
post:https://lite.zou520.com/api/add_user_info
*session_key=用戶名稱#
*nickName=用戶名稱#
*avatarUrl=用戶頭像#
*gender=用戶性別#
*city=用戶所在城市#
*province=用戶所在省份#
<<<
success
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "查詢成功",
"data": [
{
"id": 1,
"img": "https://lite-1256413004.cos.ap-guangzhou.myqcloud.com/lite/city1.jpg",
"area": "上海"
},
]
}
<<<
error
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "查詢成功",
"data": []
}
+++
## 添加參展商收藏
~~~
接口說明:
~~~
+++
post:https://lite.zou520.com/api/collection_exhibitor
*session_key=用戶名稱#
*id=參展商ID#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "收藏成功",
"data": []
}
<<<
error
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "查詢成功",
"data": []
}
+++
## 添加活動收藏
~~~
接口說明:
~~~
+++
post:https://lite.zou520.com/api/collection_activity
*session_key=用戶名稱#
*id=參展商ID#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "收藏成功",
"data": []
}
<<<
error
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "查詢成功",
"data": []
}
+++
## 添加展會收藏
~~~
接口說明:
~~~
+++
post:https://lite.zou520.com/api/collection_exhibition
*session_key=用戶名稱#
*id=參展商ID#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "收藏成功",
"data": []
}
<<<
error
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "查詢成功",
"data": []
}
+++
## 綁定手機號
~~~
接口說明:
~~~
+++
post:https://lite.zou520.com/api/binding_mobile
*session_key=用戶名稱#
*sms_code=手機驗證碼#
*phone=手機號#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "獲取手機號成功",
"data": []
}
<<<
error
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "保存手機號失敗",
"data": []
}
+++
## 獲取用戶收藏
~~~
接口說明:
~~~
+++
post:https://lite.zou520.com/api/get_collection
*session_key=用戶名稱#
*type=獲取收藏的類型 1為展會 2為展商 3為活動 4為名片#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "獲取成功",
"data": [
{
"id": 16,
"collection_id": 2,
"type": 3,
"user_id": 7,
"activity_id": 2,
"title": "測試活動名稱2",
"content": "測試活動內容2",
"distinguished_guest": " 活動嘉賓",
"host_company": " 主辦單位",
"start_time": "2018.08.05 22:05",
"address": "深圳市高新園",
"end_time": "2018.08.05 22:05"
}
]
}
<<<
error
{
"err_code": 0, //0為成功 否者錯誤
"return_code": 0, //約定碼 特別情況下使用該參數
"err_msg": "保存手機號失敗",
"data": []
}
+++