Commit 9b559fa4 authored by zhangxiaolin's avatar zhangxiaolin

添加私信下沉

parent 5af2367a
...@@ -1185,15 +1185,9 @@ paths: ...@@ -1185,15 +1185,9 @@ paths:
required: false required: false
type: integer type: integer
format: integer format: integer
- name: q_content - name: keyword
in: query in: query
description: 按照内容查询 description: 搜索的关键词
required: false
type: string
format: string
- name: q_username
in: query
description: 按照用户名查询,如果两个条件都有查出来的是或集
required: false required: false
type: string type: string
format: string format: string
...@@ -1296,7 +1290,29 @@ paths: ...@@ -1296,7 +1290,29 @@ paths:
responses: responses:
'200': '200':
description: OK description: OK
# ------------------------
/conversation/{conversation_id}/sink:
post:
summary: 私信下沉
description: 私信私信下沉
parameters:
- name: conversation_id
in: path
description: conversation list 里的id,标识会话
required: true
type: integer
format: integer
tags:
- Conversation
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error: 0
message: ""
data: null
# ------------------------ # ------------------------
/reserve: /reserve:
get: get:
...@@ -1489,3 +1505,4 @@ paths: ...@@ -1489,3 +1505,4 @@ paths:
message: '' message: ''
error: 0 error: 0
# ----Skyler end-------------------- # ----Skyler end--------------------
jffifa
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