Skip to content

Commit f698ed7

Browse files
Kauid323QianLin-Jiaxi
authored andcommitted
Create report.md
1 parent 6e5b0c1 commit f698ed7

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

src/api/v1/report.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: report
3+
---
4+
5+
未特别说明情况下请求域名均为 `https://chat-go.jwzhd.com`
6+
没写请求/响应项目表示不需要相关参数.
7+
8+
## 提交举报
9+
10+
POST /v1/report/create
11+
12+
请求体:
13+
14+
```JSONC
15+
{
16+
"chatId": "会话id",
17+
"chatType": 2, // 会话类型,1-用户,2-群聊,3-机器人
18+
"chatName": "会话名称",
19+
"content": "举报内容",
20+
"url": "https://chat-img.jwznb.com/ImageMd5.jpg" // 举报提交的图片
21+
}
22+
```
23+
24+
响应体:
25+
26+
```JSONC
27+
{
28+
"code": 1, // 请求状态码,1为正常
29+
"msg": "success" // 返回状态消息
30+
}
31+
```

0 commit comments

Comments
 (0)