Commit 703b3489 authored by zhangxiaolin's avatar zhangxiaolin

修改话题回复

parent 594b800f
......@@ -1046,7 +1046,7 @@ paths:
/topic/{topic_id}/reply:
get:
summary: 帖子回复
description: 帖子回复
description: 获得帖子回复列表
parameters:
- name: topic_id
in: path
......@@ -1091,28 +1091,26 @@ paths:
is_best_reply: false
comment_user_type: 2
reply_date: 128833445
/topic/{topic_id}/reply/{reply_id}:
post:
summary: 回复
description: 回复话题,回复话题的回复
summary: 动词回复
description: 回复话题或者回复别人的回复
consumes:
- application/x-www-form-urlencoded
parameters:
- name: topic_id
in: path
description: 话题ID
required: true
description: 地址里的帖子ID
required: false
type: integer
format: integer
- name: reply_id
in: path
description: 回复ID
- name: id
in: formData
description: 被回复着的id,如果是针对话题不需要
required: false
type: integer
format: integer
- name: content
in: query
in: formData
description: 回复的内容
required: true
type: string
......@@ -1129,7 +1127,6 @@ paths:
description: 更改话题分值,话题往后排
consumes:
- application/x-www-form-urlencoded
parameters:
- name: topic_id
in: path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment