Table of Contents
8.14 拒绝问题并退款【未授权拦截通过,待登录态联调】
PATCH /tieup/api/v1/artist/questions/{question_id}/reject
路径参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
question_id |
integer | 是 | 提问 ID |
鉴权:需要 Authorization: Bearer <access_token>,且当前账号已开通偶像端。
请求体:
{
"reject_reason": "暂不回答"
}
请求参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
reject_reason |
string | 是 | 艺人拒绝回答的原因 |
响应字段:
| 字段 | 类型 | 说明 |
|---|---|---|
id |
integer | 提问 ID |
question_no |
string | 提问编号 |
parent_question_id |
integer/null | 上一条问题 ID;主问题为空,追问指向上一条已回答问题 |
root_question_id |
integer | 会话链根问题 ID |
fan_user_id |
integer | 粉丝用户 ID |
artist_id |
integer | 艺人 ID |
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 | 拒绝并退款后为 4 |
submitted_at |
string/null | 提交时间 |
rejected_at |
string/null | 拒绝时间 |
refunded_at |
string/null | 退款时间 |
reject_reason |
string/null | 拒绝原因 |
refund_no |
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": null,
"answer_attachments": [],
"status": 4,
"submitted_at": "2026-06-17 10:00:00",
"answered_at": null,
"rejected_at": "2026-06-17 10:10:00",
"refunded_at": "2026-06-17 10:10:00",
"reject_reason": "问题与当前服务范围不符",
"refund_no": "RF202606170001",
"created_at": "2026-06-17 10:00:00",
"thread_status": 4,
"thread_latest_question_id": 50001,
"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": null,
"answer_attachments": [],
"status": 4,
"submitted_at": "2026-06-17 10:00:00",
"answered_at": null,
"rejected_at": "2026-06-17 10:10:00",
"refunded_at": "2026-06-17 10:10:00",
"reject_reason": "问题与当前服务范围不符",
"refund_no": "RF202606170001",
"created_at": "2026-06-17 10:00:00"
}
],
"follow_ups": []
}
}
业务规则:
- 只有问题所属偶像可拒绝。
- 只有
tieup_question.status = 1的问题可拒绝;已退款重复请求直接返回当前问题。 - 拒绝后同步调用糖果账户服务退款,写
tieup_user_transaction.change_type = 3。 - 同时写
tieup_refund_record.refund_type = 2作为糖果退款审计记录。 - 本轮没有收入折算,因此拒绝不做收入冲正。