获取某个达人的详细信息
好热闹
获取某个达人的详细信息
Description
获取某个达人的详细信息,包括达人访问和达人详细介绍
Method and URL Structure
Method |
Resource URL |
GET |
/forum/expert_get_info_skills/ |
Request Parameters
Name |
Description |
Required |
Default |
expert |
达人用户名 |
Yes |
|
username |
用户名 |
No |
|
password |
密码 |
NO/[YES,如果指定了用户名] |
|
Request
{
"expert":"expert_username",
"username":"username",
"password":"password",
}
cURL Example
curl -d username=12345678910&password=123456&expert=10987654321 http://localhost/forum/expert_get_info_skills/
JSON Response
Name |
Description |
ret |
标识是否成功 ok, 成功; failed, 失败 |
reason |
失败原因,比如:身份验证失败 |
expert |
达人 |
- 达人的用户信息
Name |
Description |
username |
达人的用户名 |
nickname |
用户昵称 |
followed |
用户是否 Followed |
user_desc |
用户简介 |
is_public_number |
是否公众号 |
thumb |
用户头像 |
2. skills: 达人的技能集合
Name |
Description |
skill_id |
技能 ID |
skill |
技能名称 |
price |
技能价格 |
categroy |
技能分类 |
name |
技能分类的名称 |
id |
技能分类的 ID |
3. expert_info: 达人信息
Name |
Description |
profile |
达人详细介绍 |
sex |
性别 |
slogan |
slogan |
thumb |
达人大图 |
short_desc |
达人简介 |
order_count |
订单总数 |
is_new |
是否新申请达人 |
order_count |
订单总数 |
done_order_count |
完成回答的订单数 |
order_statistics |
回答率 |
interviews |
达人的访问 |
customzation |
自定义页面信息 |
interviews: 达人访问
Name |
Description |
title |
访问标题 |
content |
访问内容 |
interview_time |
访问时间 |
{
"ret":"ok",
"reason":"",
"expert":{
"username": "12345678910",
"nickname": "昵称",
"user_desc": "",
"thumb":"http://resource.haorenao.cn/static/tea/threadimages/thumb.png",
"is_public_number": false,
"skills": [{
"skill": "技能名称",
"skill_id": 100,
"price": 2.0,
"category": {"name": "分类", "id": 1}
}, ...
"expert_info": {
"sex": "男/女",
"slogan": "SLOGAN",
"thumb": "http://resource.haorenao.cn/static/tea/threadimages/thumb.jpg",
"short_desc": ".....",
"is_new": false,
"order_count": 0,
"done_order_count": 0,
"order_statistics": 0,
"customzation":"<html></html>",
"interviews":[{
"title":"interview title",
"content":"interview content",
"interview_time":"intervirew tie",
}...],
},
}
}