文档
测试

按照分类获取商品列表

GET
http://192.168.1.22:8080/Jifen/api/goods/showGoodsByType/{typeId}

请求参数

参数名
类型
描述
必填
typeId
int
类型Id
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:成功
必填
data
array
数据列表
必填
areaId
int
地区ID,示例:230200
必填
typeId
int
类型ID,示例:5
必填
id
int
商品Id,示例:1
必填
title
string
商品名称,示例:iPhone 数据线
必填
stock
int
库存,示例:2996
必填
picture
string
首页展示图片,示例:/Jifen/resources/upload/park/goods/cdee2ffd/4785/4d01/b02c/8d6fcb6632a9/20191119111731873.jpg
必填
points
int
所需积分,示例:5899
必填