文档
测试

前端二手市场列表

POST
http://127.0.0.1:8080/wx/second/selectByStateList

请求参数

参数名
类型
描述
必填
state
传1
必填

响应参数

参数名
类型
描述
必填
errno
int
示例:0
必填
data
array
数据列表
必填
id
int
示例:3
必填
orderId
int
示例:3 订单id
必填
goodsId
int
示例:1181004。商品id
必填
goodsName
string
示例:好看的文件 商品名称
必填
goodsSn
string
示例:1222556 商品编号
必填
productId
int
示例:251 商品货品表的货品ID
必填
number
int
示例:1 商品数量
必填
price
int
示例:121。商品价格
必填
specifications
array
数据列表 商品货品的规格列表
必填
picUrl
string
示例:http://localhost:8080/wx/storage/fetch/aylw53v6tkpndwglthes.jpg 商品图片
必填
comment
int
示例:0 评论内容
必填
addTime
string
示例:2020-07-07 11:11:59
必填
updateTime
string
示例:2020-07-07 11:11:59
必填
deleted
boolean
示例:false
必填
state
string
示例:1 状态 0 可转卖 1 转卖中 2已转卖
必填
secondHandPrice
string
示例:20 二手价格
必填
userId
string
示例:1 转卖人id
必填
userHeadImg
string
示例:1 转卖人头像
必填
errmsg
string
示例:成功
必填