Commit 8f0cc4d7 authored by zhangxiaolin's avatar zhangxiaolin

添加快捷回复

parent 7f959f57
...@@ -1697,7 +1697,26 @@ paths: ...@@ -1697,7 +1697,26 @@ paths:
- id: 2 - id: 2
content: 内容2 content: 内容2
post: post:
summary: 添加一个回复 summary: 新建一个快捷回复
parameters:
- name: content
in: formData
description: 新建的内容
required: True
type: string
format: string
tags:
- Conversation
responses:
'200':
description: OK
schema: {}
examples:
application/json:
message: ''
error: 0
data:
id: 成功之后的id用于删除
# --------------------------- # ---------------------------
/quickreply/{reply_id}/edit: /quickreply/{reply_id}/edit:
post: post:
...@@ -1730,8 +1749,8 @@ paths: ...@@ -1730,8 +1749,8 @@ paths:
# ------------------------------- # -------------------------------
/quickreply/{reply_id}/delete: /quickreply/{reply_id}/delete:
post: post:
summary: 编辑 summary: 删除
description: 编辑回复 description: 删除回复
parameters: parameters:
- name: reply_id - name: reply_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