- 必须先读
- Ajax编程_V7.6大纲配套
- 数据可视化
- Vue基础
- Vue_大事件
- 黑马头条号
- 极客园_PC
- 极客园(黑马头条)_移动端
- 人资项目
- 小兔鲜电商
- 小程序基础
- 小程序项目
- layui_大事件
- 品优购电商后台
- 其他可用接口
获取-三级分类列表
GET
/categoryThird
请求参数
Query 参数
secondId
string
可选
示例值:
622
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://hmajax.itheima.net/api-s/categoryThird?secondId=622'
返回响应
🟢200成功
application/json
Body
msg
string
响应消息
code
integer
业务状态码
list
array [object {5}]
响应数据
id
integer
数据id
thiredId
string
三级分类id
thiredName
string
三级分类名字
secondId
string
二级分类id
thirImgId
string
三级分类图片id
示例
{
"msg": "恭喜你, 操作成功",
"code": 200,
"list": [
{
"id": 1,
"thiredId": "624",
"thiredName": "咖啡粉",
"secondId": "622",
"thirImgId": "2e30bb68-2707-11e9-b531-e0accb719100"
},
{
"id": 2,
"thiredId": "623",
"thiredName": "咖啡豆",
"secondId": "622",
"thirImgId": "2e3d7ff5-2707-11e9-8c2c-e0accb719100"
}
]
}
修改于 2023-11-27 03:48:47