简要描述:

  • 根据商品sku获取商品相关图片。

请求 URL:

  • /api/shop/goods/images

接口授权:

参数名称 类型 必选 长度 接口介绍
token String Y 128 授权时获取的token
sku String Y 32 商品统一编号

响应数据:

参数名称 数据格式
status 返回值:true/false
code 成功为 200
msg 提示信息
result { “id”: 828,
“thumb_url”: [ “https://img13.360buyimg.com/n12/jfs/t22879/127/220050845/428469/4fe0ff0a/5b28c8f0Nb503759b.jpg", “https://img13.360buyimg.com/n12/jfs/t16561/138/1947354488/463125/c0db8381/5a703991Nc1765c3f.jpg" ],
“thumb”:
https://img13.360buyimg.com/n12/jfs/t21418/150/1412968575/172735/4ebe02e8/5b28c8f6N16609056.jpg",
“thumb_first”: 0,
“createtime”: 1513256421,
“updatetime”: 1559723979
}

相关字段说明

名称 类型 必选 长度 接口介绍
sku String Y 64 商品统一编码sku
thumb URL Y 200 商品主图
thumb_first URL Y 200 商品主图,单张图片,以HTTP开头的绝对路径
thumb_url Array Y 缩略图请求地址
文档更新时间: 2020-03-27 15:28   作者:管理员