Table of Contents
7.7 提问详情【基础探测通过,待数据联调】
GET /tieup/api/v1/questions/{question_id}
路径参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
question_id |
integer | 是 | 提问 ID |
鉴权:需要 Authorization: Bearer <access_token>。
响应字段:
| 字段 | 类型 | 说明 |
|---|---|---|
id |
integer | 提问 ID |
question_no |
string | 提问编号 |
parent_question_id |
integer/null | 上一条问题 ID;主问题为空,追问指向上一条已回答问题 |
root_question_id |
integer | 会话链根问题 ID |
fan_user_id |
integer | 粉丝用户 ID |
fan_nickname |
string | 粉丝昵称 |
fan_avatar |
string | 粉丝头像 URL |
artist_id |
integer | 艺人 ID |
artist_user_id |
integer | 艺人关联用户 ID |
artist_name |
string | 艺人名称 |
artist_avatar |
string | 艺人头像,严格读取独立维护的 tieup_artist.avatar;未配置时返回空字符串,不回退绑定账号的用户头像 |
business_type |
string | 业务类型:question=付费提问,follow_up_question=追问 |
question_content |
string | 提问内容 |
attachments |
array | 提问附件 URL/key 列表 |
price_candy_amount |
string | 本次提问/追问消耗糖果数量 |
answer_content |
string/null | 回答内容 |
answer_attachments |
array | 回答附件 URL/key 列表 |
status |
integer | 提问状态:1=待回答,2=已回答,3=已拒绝,4=已退款,5=已取消 |
submitted_at |
string/null | 提交时间 |
answered_at |
string/null | 回答时间 |
rejected_at |
string/null | 拒绝时间 |
refunded_at |
string/null | 退款时间 |
reject_reason |
string/null | 拒绝原因 |
refund_no |
string/null | 退款单号 |
created_at |
string/null | 创建时间 |
thread_status |
integer | 会话链最新问题状态 |
thread_latest_question_id |
integer | 会话链最新问题 ID |
thread_items |
array | 完整问答链,按提问、回答、追问、回答顺序排列 |
follow_ups |
array | 兼容字段,主问题详情返回追问列表 |
parent_question |
object/null | 兼容字段,追问详情返回上一条问题快照 |
响应示例:
{
"code": 200,
"message": "成功",
"data": {
"id": 50001,
"question_no": "Q202606170001",
"parent_question_id": null,
"root_question_id": 50001,
"fan_user_id": 10001,
"fan_nickname": "Tieup用户",
"fan_avatar": "https://cdn.example.com/avatar.png",
"artist_id": 20001,
"artist_user_id": 20002,
"artist_name": "示例艺人",
"artist_avatar": "https://cdn.example.com/artist.png",
"business_type": "question",
"question_content": "可以分享练习建议吗?",
"attachments": [],
"price_candy_amount": "20.00",
"answer_content": "建议先从 20 分钟基础练习开始",
"answer_attachments": [],
"status": 2,
"submitted_at": "2026-06-17 10:00:00",
"answered_at": "2026-06-17 10:10:00",
"rejected_at": null,
"refunded_at": null,
"reject_reason": null,
"refund_no": null,
"created_at": "2026-06-17 10:00:00",
"thread_status": 1,
"thread_latest_question_id": 50002,
"thread_items": [
{
"id": 50001,
"question_no": "Q202606170001",
"parent_question_id": null,
"root_question_id": 50001,
"fan_user_id": 10001,
"fan_nickname": "Tieup用户",
"fan_avatar": "https://cdn.example.com/avatar.png",
"artist_id": 20001,
"artist_user_id": 20002,
"artist_name": "示例艺人",
"artist_avatar": "https://cdn.example.com/artist.png",
"business_type": "question",
"question_content": "可以分享练习建议吗?",
"attachments": [],
"price_candy_amount": "20.00",
"answer_content": "建议先从 20 分钟基础练习开始",
"answer_attachments": [],
"status": 2,
"submitted_at": "2026-06-17 10:00:00",
"answered_at": "2026-06-17 10:10:00",
"rejected_at": null,
"refunded_at": null,
"reject_reason": null,
"refund_no": null,
"created_at": "2026-06-17 10:00:00"
},
{
"id": 50002,
"question_no": "Q202606170002",
"parent_question_id": 50001,
"root_question_id": 50001,
"fan_user_id": 10001,
"fan_nickname": "Tieup用户",
"fan_avatar": "https://cdn.example.com/avatar.png",
"artist_id": 20001,
"artist_user_id": 20002,
"artist_name": "示例艺人",
"artist_avatar": "https://cdn.example.com/artist.png",
"business_type": "follow_up_question",
"question_content": "还想了解每天练习多久",
"attachments": [],
"price_candy_amount": "50.00",
"answer_content": null,
"answer_attachments": [],
"status": 1,
"submitted_at": "2026-06-17 10:05:00",
"answered_at": null,
"rejected_at": null,
"refunded_at": null,
"reject_reason": null,
"refund_no": null,
"created_at": "2026-06-17 10:05:00"
}
],
"follow_ups": [
{
"id": 50002,
"question_no": "Q202606170002",
"parent_question_id": 50001,
"root_question_id": 50001,
"fan_user_id": 10001,
"fan_nickname": "Tieup用户",
"fan_avatar": "https://cdn.example.com/avatar.png",
"artist_id": 20001,
"artist_user_id": 20002,
"artist_name": "示例艺人",
"artist_avatar": "https://cdn.example.com/artist.png",
"business_type": "follow_up_question",
"question_content": "还想了解每天练习多久",
"attachments": [],
"price_candy_amount": "50.00",
"answer_content": null,
"answer_attachments": [],
"status": 1,
"submitted_at": "2026-06-17 10:05:00",
"answered_at": null,
"rejected_at": null,
"refunded_at": null,
"reject_reason": null,
"refund_no": null,
"created_at": "2026-06-17 10:05:00"
}
]
}
}
说明:粉丝本人或问题所属偶像可见。推荐使用 thread_items 渲染完整问答链;follow_ups、parent_question 为兼容字段。