文档
测试

查出该商铺所有上架或下架商品

GET
http://192.168.7.11:8080/farm/AppMerchant/saleProducts.action

接口描述

查出该商铺所有上架或下架商品

请求参数

参数名
类型
描述
必填
merchantId
int
商铺id
必填
limit
int
每页大小
必填
page
int
页码
必填
token
String
必填
state
int
商品状态:1为上架 2为下架
必填

响应参数

参数名
类型
描述
必填
code
String
0为获取成功1为获取失败
必填
msg
String
提示信息
必填
count
int
每页数据的条数
必填
data
array
数据
必填
productName
String
商品名
必填
price
double
商品单价
必填
unit
String
计量单位
必填
describe
String
商品描述
必填
stock
int
商品库存
必填
type
String
商品类型
必填
img
String
商品图片
必填