mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 01:25:28 +08:00
40 lines
818 B
HTTP
40 lines
818 B
HTTP
### H5 分组管理接口测试
|
||
|
||
|
||
### 1. 根据 ID 查询分组
|
||
GET {{baseUrl}}/h5/group/1
|
||
Content-Type: application/json
|
||
|
||
### 2. 分页查询分组列表(按用户 ID 筛选)
|
||
GET {{baseUrl}}/h5/group/page?page=1&pageSize=10&userId=1
|
||
Content-Type: application/json
|
||
|
||
### 3. 分页查询分组列表(带关键词搜索)
|
||
GET {{baseUrl}}/h5/group/page?page=1&pageSize=10&keyword=我的分组
|
||
Content-Type: application/json
|
||
|
||
### 4. 创建分组
|
||
POST {{baseUrl}}/h5/group
|
||
Content-Type: application/json
|
||
|
||
{
|
||
"name": "默认分组",
|
||
"userId": 1,
|
||
"sort": 1
|
||
}
|
||
|
||
### 5. 更新分组
|
||
POST {{baseUrl}}/h5/group/update/1
|
||
Content-Type: application/json
|
||
|
||
{
|
||
"id": 1,
|
||
"name": "更新后的分组名称",
|
||
"userId": 1,
|
||
"sort": 2
|
||
}
|
||
|
||
### 6. 删除分组
|
||
POST {{baseUrl}}/h5/group/delete/1
|
||
Content-Type: application/json
|