## 添加或修改名片信息
~~~
接口说明:
~~~
+++
post:https://lite.zou520.com/business_card/edit_business_card
*session_key=用户名称#
id=名片ID 如果有名片ID该接口将为修改 否则将为添加#
*nick_name=姓名#
*mobile=手机号#
*industry_label_id=行业标签#
*company_name=公司名称#
*duties=职务名称#
*company_address=公司地址#
*wx_account=微信号#
*mail=邮箱号#
*avatar_url=头像#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data": {
"id": 1,
"title": "测试活动名称",
"content": "测试活动内容",
"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": []
}
+++
## 获取名片详情
~~~
接口说明:
~~~
+++
post:https://lite.zou520.com/business_card/get_business_card
*session_key=用户名称#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data": {
"id": 1,
"user_id": 7,
"avatar_url": "http://lite-1256413004.cos.ap-guangzhou.myqcloud.com/head_portrait%2F15337802032906.png",
"nick_name": "曾美容",
"industry_label_id": 1,
"company_name": "深圳卡瑞思博科技发展有限公司",
"duties": "前端工程师",
"company_address": "深圳市高新园",
"wx_account": "qq337196325",
"mobile": "13507892232",
"mail": "337196325@qq.com"
}
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 添加名片收藏
~~~
接口说明:
~~~
+++
post:https://lite.zou520.com/business_card/collection_business_card
*session_key=用户名称#
<<<
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/business_card/produce_business_card_ar_code
*session_key=用户名称#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data":{
"qrcode"=>''//二维码base64
}
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 根据扫码结果返回对应的名片
~~~
接口说明:
~~~
+++
post:https://lite.zou520.com/business_card/get_ar_code_business_card
*session_key=用户名称#
*code=二维码扫码结果#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data": {
"id": 14,
"user_id": 7,
"avatar_url": "http://lite-1256413004.cos.ap-guangzhou.myqcloud.com/head_portrait%2F15341501107756.png",
"nick_name": "曾美容",
"industry_label_id": 2,
"company_name": "说不吃时候覅我",
"duties": "前qqq端",
"company_address": "白素素谁啊四十五",
"wx_account": "761392702",
"mobile": "15973112001",
"mail": "761392702@qq.com"
}
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 获取我收藏的名片
~~~
接口说明:
~~~
+++
post:https://lite.zou520.com/business_card/get_my_collection_business_card
*session_key=用户名称#
*search=搜索关键字#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "获取成功",
"data": [
{
"business_card_id": 14,
"user_id": 7,
"avatar_url": "http://lite-1256413004.cos.ap-guangzhou.myqcloud.com/head_portrait%2F15341501107756.png",
"nick_name": "曾美容",
"industry_label_id": 1,
"company_name": "说不吃时候覅我",
"duties": "前qqq端",
"company_address": "白素素谁啊四十五",
"wx_account": "761392702",
"mobile": "15973112001",
"mail": "761392702@qq.com",
"province": "",
"city": "",
"district": "",
"id": 32
}
]
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++
## 发送名片给参展商
~~~
接口说明:
~~~
+++
post:https://lite.zou520.com/business_card/send_business_card_exhibitor
*session_key=用户名称#
*exhibitor_id=参展商ID#
<<<
success
{
"err_code": 0,
"return_code": 0,
"err_msg": "发送名片成功",
"data": []
}
<<<
error
{
"err_code": 0, //0为成功 否者错误
"return_code": 0, //约定码 特别情况下使用该参数
"err_msg": "查询成功",
"data": []
}
+++