usertag - 用户标签接口
- api/user/usertag/getlist GET 查询所有
- api/user/usertag/get GET 根据id获取用户标签
- api/user/usertag/create POST 新增
- api/user/usertag/update POST 修改
- api/user/usertag/delete POST 删除
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| name | string | 名称 |
响应示例
application/json, text/json
[
{
"name": "",
"id": 2
},
{
"name": "",
"id": 2
}
]
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | id |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| name | string | 名称 |
响应示例
application/json, text/json
{
"name": "",
"id": 2
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| name | string | 名称 |
请求示例
application/json, text/json
{
"name": "",
"id": 2
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| name | string | 名称 |
请求示例
application/json, text/json
{
"name": "",
"id": 2
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int |
请求示例
application/json, text/json
{
"id": 1
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}