Skip to content

Commit 8a6e71c

Browse files
Kauid323QianLin-Jiaxi
authored andcommitted
Update community.md
1 parent b5cf78b commit 8a6e71c

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

src/api/v1/community.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,3 +1445,39 @@ POST /v1/community/ba/manage-setting
14451445
"msg": "success" // 返回消息
14461446
}
14471447
```
1448+
1449+
## 获取用户创建的分区
1450+
1451+
POST /v1/community/ba/list-by-create
1452+
1453+
请求头:
1454+
1455+
|名称|必须|备注|
1456+
|-----|-----|-----|
1457+
|token|||
1458+
1459+
请求体:
1460+
1461+
```JSONC
1462+
{
1463+
"userId": "1234567" // 用户id
1464+
}
1465+
```
1466+
1467+
响应体:
1468+
1469+
```JSONC
1470+
{
1471+
"code": 1, // 请求状态码,1为正常
1472+
"data": {
1473+
"ba": [
1474+
{
1475+
"id": 50, // 分区id
1476+
"name": "123", // 分区名称
1477+
"avatar": "https://..." // 分区头像url
1478+
}
1479+
]
1480+
},
1481+
"msg": "success" // 返回消息
1482+
}
1483+
```

0 commit comments

Comments
 (0)