文档
测试

云仓商品管理

GET
http://yijiayoudiancs.zmqzjt.com:8888/yjyd-admin/cloude/supplierCommodityManagement

请求头

参数名
类型
描述
必填
token
String
授权token
必填

请求参数

参数名
类型
描述
必填
type
string
实例 : 0-商品管理(已上架) 1-(待审商品管理) 必传
必填
cloudeId
string
示例:仓库ID(仓库ID供应商ID二选一) 必传
必填
orgId
String
实例 : 供应商ID(仓库ID供应商ID二选一) 必传
必填
goodsCatId
string
示例:分类ID
必填
goodsPriceSort
string
示例:价格排序 0-降序 1-升序(价格销量 二选一) 必传
必填
goodsSalesSort
string
示例:销量排序 0-降序 1-升序(价格销量 二选一) 必传
必填
goodsName
string
示例:商品名称
必填
Pages
string
示例:页数 必传
必填
PerPage
string
示例:每页数量 必传
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:查询成功
必填
data
object
数据字典
必填
goodsCount
int
数据总数
必填
goodsList
array
数据列表
必填
goodsId
string
示例:商品ID
必填
goodsImage
object
示例:商品图片
必填
goodsListPrice
int
示例:商品列表显示价格
必填
orgId
string
示例:机构id
必填
isRecommend
int
示例:是否是推荐商品
必填
enableStore
int
示例:商品总库存
必填
goodsSort
int
示例:商品排序字段
必填
isFreePost
int
示例:是否包邮
必填
goodsCatId
string
示例:商品分类id
必填
goodsBrandId
string
示例:商品品牌id
必填
goodsName
string
示例:商品名称
必填
goodSales
int
示例:商品销量
必填
tradeType
string
示例:贸易类型
必填
maxGroup
int
示例:最大限购数
必填
intro
string
示例:详情信息
必填
brandNameLogo
string
示例:品牌图片
必填
lifeType
int
示例:有效期类型
必填
auditMessage
object
示例:审核原因
必填
auditStatus
int
示例:0:申请失败1:申请成功,2.审核通过,3:未通过
必填
goodsCount
int
示例:商品总数
必填
goodsStatus
int
实例 : 1:上架2:下架:3删除
必填

说明 / 示例

{ "code": 200, "msg": "查询成功", "data": { "goodsCount": 3, "goodsList": [ { "goodsId": "5de99be7cafddc10c71a6d2924756822", "goodsImage": null, "goodsListPrice": 123, "orgId": "000062", "isRecommend": 0, "enableStore": 6, "goodsSort": 43, "isFreePost": 1, "goodsCatId": "3539ad7764fc11e8be487cd30adbc118", "goodsBrandId": "a31b196066a14858b76d385d0f167a60", "goodsName": "ces", "goodSales": 0, "tradeType": "自主上货", "maxGroup": 123, "intro": "123", "brandNameLogo": "www.logo.com", "lifeType": 1, "auditMessage": null, "auditStatus": 2, "goodsCount": 3 }, { "goodsId": "5de99be7cafddc10c71a6d2924756823", "goodsImage": "www.xxxxx.com", "goodsListPrice": 1223, "orgId": "000062", "isRecommend": 0, "enableStore": 6, "goodsSort": 43, "isFreePost": 1, "goodsCatId": "3539ad7764fc11e8be487cd30adbc118", "goodsBrandId": "a31b196066a14858b76d385d0f167a60", "goodsName": "测试商品", "goodSales": 0, "tradeType": "自主上货", "maxGroup": 123, "intro": "123", "brandNameLogo": "www.logo.com", "lifeType": 1, "auditMessage": "111", "auditStatus": 2, "goodsCount": 3 }, { "goodsId": "5bcb1fc13cacb2283a538a663c1bc7a9", "goodsImage": "www.baidu.com", "goodsListPrice": 999.99, "orgId": "000062", "isRecommend": 0, "enableStore": 1564, "goodsSort": 45, "isFreePost": 1, "goodsCatId": "asdada", "goodsBrandId": "12312312", "goodsName": "测试商品", "goodSales": 0, "tradeType": "自主上货", "maxGroup": 1, "intro": "测试富文本", "brandNameLogo": "www.logo.com", "lifeType": 1, "auditMessage": null, "auditStatus": 2, "goodsCount": 3 } ] } }