mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 17:38:48 +08:00
41 lines
850 B
HTTP
41 lines
850 B
HTTP
### 查询所有H5分组
|
|
GET http://localhost:19200/h5/h5-groups
|
|
Accept: application/json
|
|
|
|
### 分页查询H5分组
|
|
GET http://localhost:19200/h5/h5-groups/page?pageNum=1&pageSize=10
|
|
Accept: application/json
|
|
|
|
### 根据ID查询H5分组
|
|
GET http://localhost:19200/h5/h5-groups/1
|
|
Accept: application/json
|
|
|
|
### 根据父级ID查询子分组
|
|
GET http://localhost:19200/h5/h5-groups/children/1
|
|
Accept: application/json
|
|
|
|
### 创建H5分组
|
|
POST http://localhost:19200/h5/h5-groups
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "测试分组",
|
|
"parentId": 0,
|
|
"sort": 1,
|
|
"status": 1
|
|
}
|
|
|
|
### 更新H5分组
|
|
PUT http://localhost:19200/h5/h5-groups/1
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "更新后的测试分组",
|
|
"parentId": 0,
|
|
"sort": 2,
|
|
"status": 1
|
|
}
|
|
|
|
### 删除H5分组
|
|
DELETE http://localhost:19200/h5/h5-groups/1
|
|
Accept: application/json |