|
|
## 1.获取商品可售平台设置列表(平台端商品管理:所有)
|
|
|
|
|
|
> 接口名: `/ProductSaleController/getProductSaleList.do`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|productSkn|Integer|51198438|产品SKN号|否|
|
|
|
|productName|string|商品名称|产品名称|否|
|
|
|
|brandId|Short|1234|品牌ID|否|
|
|
|
|shopId|Short|1234|店铺ID|否|
|
|
|
|supplierId|Short|1234|供应商ID|否|
|
|
|
|maxSortId|Short|1234|产品一级分类ID|否|
|
|
|
|middleSortId|Short|1234|产品二级分类ID|否|
|
|
|
|smallSortId|Short|1234|产品三级分类ID|否|
|
|
|
|sortId|Short|1234|产品四级分类ID|否|
|
|
|
|gender|string|1|性别(1男、2女、3通用)|否|
|
|
|
|isLimited|string|Y|是否限量,Y:是,N:否|否|
|
|
|
|isAdvance|string|Y|是否预售,Y:是,N:否|否|
|
|
|
|isJit|string|Y|是否jit商品,Y:是,N:否|否|
|
|
|
|isOutLets|string|'B'|'Y','N','B' 是否奥莱,默认品牌设置|否|
|
|
|
|isVip|string|'B'|是否VIP,Y:开启,N:关闭,B:品牌设置|否|
|
|
|
|ageLevel|string|1|年龄层(1成人 2大童 3小童 逗号分隔)|否|
|
|
|
|isLimitbuy|string|Y|是否限购,Y:限购,N:非限购|否|
|
|
|
|founderName|String|111|创建人名称|否|
|
|
|
|salePlatform|int|1|1、线上线下均可售 2、仅线上可售 3、仅线下可售|否|
|
|
|
|storeId|int|1|线下门店Id|否|
|
|
|
|isAutoAllocation|int|0|0、关闭自动生成调拨单状态 1、开启自动生成调拨单状态|否|
|
|
|
|isOnline|int|0|0、不是线上展示 1、是线上展示|否|
|
|
|
|page|int|1|当前页|是|
|
|
|
|size|int|10|每页显示条数|是|
|
|
|
---------------------
|
|
|
|
|
|
### 接口返回消息体
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"ageLevel": "1",
|
|
|
"attribute": 1,
|
|
|
"auditFailTime": 0,
|
|
|
"auditPassId": 2794,
|
|
|
"auditPassName": "wxtest1",
|
|
|
"auditPassTime": 1458647086,
|
|
|
"baseGoodList": [
|
|
|
{
|
|
|
"colorId": 90,
|
|
|
"createTime": 1458647027,
|
|
|
"factoryCode": "1221",
|
|
|
"factoryGoodsName": "21",
|
|
|
"goodsColorImage": "http://img12.static.yhbimg.com\goodsimg/2016/03/22/19/0257a05ae92dd665f3a42894a4e7135896.jpg",
|
|
|
"goodsName": "jpgs(+)",
|
|
|
"goodsSizeList": [
|
|
|
{
|
|
|
"barCode": "12",
|
|
|
"createTime": 1458647027,
|
|
|
"isSuppled": "N",
|
|
|
"marketPrice": 21,
|
|
|
"presaleStorageNum": 0,
|
|
|
"productSkc": 336352,
|
|
|
"productSkn": 51198439,
|
|
|
"productSku": 1047563,
|
|
|
"salePrice": 21,
|
|
|
"sizeId": 267,
|
|
|
"updateTime": 1458647027
|
|
|
}
|
|
|
],
|
|
|
"productSkc": 336352,
|
|
|
"productSkn": 51198439,
|
|
|
"updateTime": 1458647027
|
|
|
}
|
|
|
],
|
|
|
"brandFolder": 0,
|
|
|
"brandId": 1555,
|
|
|
"brandName": "请不要用我的品牌,谢谢",
|
|
|
"createTime": 1458647027,
|
|
|
"editTime": 1458647027,
|
|
|
"expectArrivalTime": 0,
|
|
|
"expectShelfTime": 1458595500,
|
|
|
"factoryCode": "",
|
|
|
"founder": 2794,
|
|
|
"founderName": "wxtest1",
|
|
|
"gender": "1",
|
|
|
"goodsSeason": 0,
|
|
|
"goodsYears": 2016,
|
|
|
"grade": "0",
|
|
|
"isAdvance": "N",
|
|
|
"isAuditing": 200,
|
|
|
"isJit": "N",
|
|
|
"isLimitbuy": "N",
|
|
|
"isLimited": "N",
|
|
|
"isMainPush": "N",
|
|
|
"isOutLets": "B",
|
|
|
"isPromotionalGifts": "N",
|
|
|
"isSupplied": 2,
|
|
|
"isVip": "B",
|
|
|
"limitEndTime": 0,
|
|
|
"limitStartTime": 0,
|
|
|
"maxSortId": 1,
|
|
|
"maxSortName": "上衣",
|
|
|
"middleSortId": 12,
|
|
|
"middleSortName": "衬衫",
|
|
|
"operateInfo": "wxtest1 2016-03-22 19:44:46",
|
|
|
"productName": "请不要用我的品牌,谢谢衬衫",
|
|
|
"productSkn": 51198439,
|
|
|
"productTag": "12122121",
|
|
|
"rejectReason": "",
|
|
|
"retailPrice": 21,
|
|
|
"salesPrice": 21,
|
|
|
"seasons": "",
|
|
|
"seriesId": 0,
|
|
|
"shopId": 0,
|
|
|
"sizeMaxSortId": 0,
|
|
|
"sizeMiddleSortId": 0,
|
|
|
"sizeSmallSortId": 0,
|
|
|
"smallSortId": 115,
|
|
|
"smallSortName": "衬衫",
|
|
|
"sortId": 0,
|
|
|
"supplierId": 0,
|
|
|
"yohoCoin": 0
|
|
|
}
|
|
|
],
|
|
|
"page": 1,
|
|
|
"size": 10,
|
|
|
"total": 119,
|
|
|
"totalPage": 12
|
|
|
},
|
|
|
"md5": "23163c6c8ac58fc85f9cad364c165483",
|
|
|
"message": "获取列表成功."
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|