Commit 7f959f57 authored by zhangxiaolin's avatar zhangxiaolin

添加快捷回复

parent eb962d1b
...@@ -1529,7 +1529,7 @@ paths: ...@@ -1529,7 +1529,7 @@ paths:
responses: responses:
'200': '200':
description: OK description: OK
# ----------------
/conversation: /conversation:
get: get:
summary: 私信列表 summary: 私信列表
...@@ -1675,6 +1675,114 @@ paths: ...@@ -1675,6 +1675,114 @@ paths:
error: 0 error: 0
message: "" message: ""
data: null data: null
# ---------------------------
/quickreply:
get:
summary: 快捷回复列表
description: 快捷回复列表
parameters:
tags:
- Conversation
responses:
'200':
description: OK
schema: {}
examples:
application/json:
message: ''
error: 0
data:
- id: 1
content: 内容
- id: 2
content: 内容2
post:
summary: 添加一个回复
# ---------------------------
/quickreply/{reply_id}/edit:
post:
summary: 编辑
description: 编辑回复
parameters:
- name: reply_id
in: path
description: id
required: True
type: integer
format: integer
- 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:
# -------------------------------
/quickreply/{reply_id}/delete:
post:
summary: 编辑
description: 编辑回复
parameters:
- name: reply_id
in: path
description: id
required: True
type: integer
format: integer
tags:
- Conversation
responses:
'200':
description: OK
schema: {}
examples:
application/json:
message: ''
error: 0
data:
# -------------------------------
/quickreply/{reply_id}/stick:
get:
summary: 置顶
description: 置顶某条回复
parameters:
- name: reply_id
in: path
description: 回复id
required: true
type: integer
format: integer
- name: stick_time
in: formData
description: 点击置顶的时间戳
required: true
type: date
format: date
tags:
- Conversation
responses:
'200':
description: OK
schema: {}
examples:
application/json:
message: ''
error: 0
data:
- id: 1
content: 内容
- id: 2
content: 内容2
# ------------------------ # ------------------------
/reserve: /reserve:
get: get:
......
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