Authored by qianjun

Update product_query.md

  1 +## 1.获取商品可售平台设置列表(平台端商品管理:所有)
  2 +
  3 +> 接口名: `/ProductSaleController/getProductSaleList.do`
  4 +
  5 +### 入参
  6 +
  7 +-------------------------
  8 +|属性名称|类型|例子|说明|是否必填|
  9 +|--------|----|----|----|--------|
  10 +|productSkn|Integer|51198438|产品SKN号|否|
  11 +|productName|string|商品名称|产品名称|否|
  12 +|brandId|Short|1234|品牌ID|否|
  13 +|shopId|Short|1234|店铺ID|否|
  14 +|supplierId|Short|1234|供应商ID|否|
  15 +|maxSortId|Short|1234|产品一级分类ID|否|
  16 +|middleSortId|Short|1234|产品二级分类ID|否|
  17 +|smallSortId|Short|1234|产品三级分类ID|否|
  18 +|sortId|Short|1234|产品四级分类ID|否|
  19 +|gender|string|1|性别(1男、2女、3通用)|否|
  20 +|isLimited|string|Y|是否限量,Y:是,N:否|否|
  21 +|isAdvance|string|Y|是否预售,Y:是,N:否|否|
  22 +|isJit|string|Y|是否jit商品,Y:是,N:否|否|
  23 +|isOutLets|string|'B'|'Y','N','B' 是否奥莱,默认品牌设置|否|
  24 +|isVip|string|'B'|是否VIP,Y:开启,N:关闭,B:品牌设置|否|
  25 +|ageLevel|string|1|年龄层(1成人 2大童 3小童 逗号分隔)|否|
  26 +|isLimitbuy|string|Y|是否限购,Y:限购,N:非限购|否|
  27 +|founderName|String|111|创建人名称|否|
  28 +|salePlatform|int|1|1、线上线下均可售 2、仅线上可售 3、仅线下可售|否|
  29 +|storeId|int|1|线下门店Id|否|
  30 +|isAutoAllocation|int|0|0、关闭自动生成调拨单状态 1、开启自动生成调拨单状态|否|
  31 +|isOnline|int|0|0、不是线上展示 1、是线上展示|否|
  32 +|page|int|1|当前页|是|
  33 +|size|int|10|每页显示条数|是|
  34 +---------------------
  35 +
  36 +### 接口返回消息体
  37 +```json
  38 +{
  39 + "code": 200,
  40 + "data": {
  41 + "list": [
  42 + {
  43 + "ageLevel": "1",
  44 + "attribute": 1,
  45 + "auditFailTime": 0,
  46 + "auditPassId": 2794,
  47 + "auditPassName": "wxtest1",
  48 + "auditPassTime": 1458647086,
  49 + "baseGoodList": [
  50 + {
  51 + "colorId": 90,
  52 + "createTime": 1458647027,
  53 + "factoryCode": "1221",
  54 + "factoryGoodsName": "21",
  55 + "goodsColorImage": "http://img12.static.yhbimg.com\goodsimg/2016/03/22/19/0257a05ae92dd665f3a42894a4e7135896.jpg",
  56 + "goodsName": "jpgs(+)",
  57 + "goodsSizeList": [
  58 + {
  59 + "barCode": "12",
  60 + "createTime": 1458647027,
  61 + "isSuppled": "N",
  62 + "marketPrice": 21,
  63 + "presaleStorageNum": 0,
  64 + "productSkc": 336352,
  65 + "productSkn": 51198439,
  66 + "productSku": 1047563,
  67 + "salePrice": 21,
  68 + "sizeId": 267,
  69 + "updateTime": 1458647027
  70 + }
  71 + ],
  72 + "productSkc": 336352,
  73 + "productSkn": 51198439,
  74 + "updateTime": 1458647027
  75 + }
  76 + ],
  77 + "brandFolder": 0,
  78 + "brandId": 1555,
  79 + "brandName": "请不要用我的品牌,谢谢",
  80 + "createTime": 1458647027,
  81 + "editTime": 1458647027,
  82 + "expectArrivalTime": 0,
  83 + "expectShelfTime": 1458595500,
  84 + "factoryCode": "",
  85 + "founder": 2794,
  86 + "founderName": "wxtest1",
  87 + "gender": "1",
  88 + "goodsSeason": 0,
  89 + "goodsYears": 2016,
  90 + "grade": "0",
  91 + "isAdvance": "N",
  92 + "isAuditing": 200,
  93 + "isJit": "N",
  94 + "isLimitbuy": "N",
  95 + "isLimited": "N",
  96 + "isMainPush": "N",
  97 + "isOutLets": "B",
  98 + "isPromotionalGifts": "N",
  99 + "isSupplied": 2,
  100 + "isVip": "B",
  101 + "limitEndTime": 0,
  102 + "limitStartTime": 0,
  103 + "maxSortId": 1,
  104 + "maxSortName": "上衣",
  105 + "middleSortId": 12,
  106 + "middleSortName": "衬衫",
  107 + "operateInfo": "wxtest1 2016-03-22 19:44:46",
  108 + "productName": "请不要用我的品牌,谢谢衬衫",
  109 + "productSkn": 51198439,
  110 + "productTag": "12122121",
  111 + "rejectReason": "",
  112 + "retailPrice": 21,
  113 + "salesPrice": 21,
  114 + "seasons": "",
  115 + "seriesId": 0,
  116 + "shopId": 0,
  117 + "sizeMaxSortId": 0,
  118 + "sizeMiddleSortId": 0,
  119 + "sizeSmallSortId": 0,
  120 + "smallSortId": 115,
  121 + "smallSortName": "衬衫",
  122 + "sortId": 0,
  123 + "supplierId": 0,
  124 + "yohoCoin": 0
  125 + }
  126 + ],
  127 + "page": 1,
  128 + "size": 10,
  129 + "total": 119,
  130 + "totalPage": 12
  131 + },
  132 + "md5": "23163c6c8ac58fc85f9cad364c165483",
  133 + "message": "获取列表成功."
  134 +}
  135 +```