产品
请求URL:
api/index/goods
请求方式:
- POST
参数:
返回示例
{
"code": 0,
"msg": "成功",
"data": {
"new": [
{
"goods_id": "1",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "2",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "3",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "4",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
}
],
"hot": [
{
"goods_id": "1",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "2",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "3",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "4",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
}
],
"guess": [
{
"goods_id": "1",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "2",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "3",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
},
{
"goods_id": "4",
"title": "chatgpt4.0",
"sub_title": "chatgpt4.0家科技的开始",
"label": [
"商业营销",
"写作"
],
"image": "https://ai.carryba.com/web/lavatar.jpg"
}
]
}
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
new | string | 最新产品 |
hot | string | 最热产品 |
guess | string | 猜你喜欢 |
字段 | 类型 | 空 | 默认 | 注释 |
---|---|---|---|---|
goods_id | int(11) | 是 | 产品id | |
title | varchar(20) | 是 | 标题 | |
sub_title | varchar(20) | 是 | 简介 | |
label | varchar(20) | 是 | 标签 | |
image | varchar(20) | 是 | 图片 |