Commit 703b3489 authored by zhangxiaolin's avatar zhangxiaolin

修改话题回复

parent 594b800f
...@@ -1046,7 +1046,7 @@ paths: ...@@ -1046,7 +1046,7 @@ paths:
/topic/{topic_id}/reply: /topic/{topic_id}/reply:
get: get:
summary: 帖子回复 summary: 帖子回复
description: 帖子回复 description: 获得帖子回复列表
parameters: parameters:
- name: topic_id - name: topic_id
in: path in: path
...@@ -1091,28 +1091,26 @@ paths: ...@@ -1091,28 +1091,26 @@ paths:
is_best_reply: false is_best_reply: false
comment_user_type: 2 comment_user_type: 2
reply_date: 128833445 reply_date: 128833445
/topic/{topic_id}/reply/{reply_id}:
post: post:
summary: 回复 summary: 动词回复
description: 回复话题,回复话题的回复 description: 回复话题或者回复别人的回复
consumes: consumes:
- application/x-www-form-urlencoded - application/x-www-form-urlencoded
parameters: parameters:
- name: topic_id - name: topic_id
in: path in: path
description: 话题ID description: 地址里的帖子ID
required: true required: false
type: integer type: integer
format: integer format: integer
- name: reply_id - name: id
in: path in: formData
description: 回复ID description: 被回复着的id,如果是针对话题不需要
required: false required: false
type: integer type: integer
format: integer format: integer
- name: content - name: content
in: query in: formData
description: 回复的内容 description: 回复的内容
required: true required: true
type: string type: string
...@@ -1129,7 +1127,6 @@ paths: ...@@ -1129,7 +1127,6 @@ paths:
description: 更改话题分值,话题往后排 description: 更改话题分值,话题往后排
consumes: consumes:
- application/x-www-form-urlencoded - application/x-www-form-urlencoded
parameters: parameters:
- name: topic_id - name: topic_id
in: path 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