Skip to content

Commit 9053e8c

Browse files
Kauid323QianLin-Jiaxi
authored andcommitted
Update sticky.md
1 parent 0ad2279 commit 9053e8c

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

src/api/v1/sticky.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,30 @@ POST /v1/sticky/delete
9696
"msg": "success" // 返回状态消息
9797
}
9898
```
99+
100+
## 把其中一个已置顶会话移到最前
101+
102+
POST /v1/sticky/topping
103+
104+
请求头:
105+
106+
|名称|必须|备注|
107+
|-----|-----|-----|
108+
|token|||
109+
110+
请求体:
111+
112+
```JSONC
113+
{
114+
"id": "5753" // 会话创建id(第5753个会话)
115+
}
116+
```
117+
118+
响应体:
119+
120+
```JSONC
121+
{
122+
"code": 1, // 请求状态码,1为正常
123+
"msg": "success" // 返回状态消息
124+
}
125+
```

0 commit comments

Comments
 (0)