Authored by pangjie

新增接口

@@ -80,6 +80,117 @@ @@ -80,6 +80,117 @@
80 80
81 81
82 82
  83 +##优惠券详细信息接口
  84 +
  85 + 请求路径 coupon/getCouponDetailById
  86 + POST请求 JSON
  87 +
  88 +
  89 +
  90 +请求参数
  91 +--------------------------------------------------
  92 +|编码|含义|必填|说明|
  93 +|--------|----|----|----|
  94 +|couponId|券ID|是|Integer类型|
  95 +--------------------------------------------------
  96 +
  97 +
  98 +请求示例:
  99 +
  100 + {
  101 + "couponId":13054
  102 + }
  103 +
  104 +响应:
  105 +
  106 +
  107 + {
  108 + "code": 200,
  109 + "data": {
  110 + "activityLimit": 0,
  111 + "brandLimit": "571,1209",
  112 + "brandsIdName": [
  113 + {
  114 + "id": "1209",
  115 + "text": "AAVA Lifestyle"
  116 + },
  117 + {
  118 + "id": "571",
  119 + "text": "A QUESTION OF"
  120 + }
  121 + ],
  122 + "couponAmount": 12,
  123 + "couponCode": "",
  124 + "couponName": "JMtest222",
  125 + "couponNum": 12,
  126 + "couponType": 5,
  127 + "couponUseNum": 0,
  128 + "createTime": 1464244165,
  129 + "customType": "1,2,3,4",
  130 + "department": 11,
  131 + "endTime": 1464659100,
  132 + "explains": "12",
  133 + "getLimit": 1,
  134 + "id": 13054,
  135 + "invalidReason": "",
  136 + "isAll": "N",
  137 + "isNew": 1,
  138 + "isProductLimit": "N",
  139 + "options": [
  140 + 1,
  141 + 0,
  142 + 2
  143 + ],
  144 + "pid": 0,
  145 + "productLimit": "",
  146 + "proposer": "",
  147 + "rejectReason": "qawer",
  148 + "sortLimit": "1,11,13,3,28",
  149 + "sortList": [
  150 + [
  151 + {
  152 + "id": 1,
  153 + "sortName": "上衣"
  154 + },
  155 + {
  156 + "id": 11,
  157 + "sortName": "T恤"
  158 + }
  159 + ],
  160 + [
  161 + {
  162 + "id": 1,
  163 + "sortName": "上衣"
  164 + },
  165 + {
  166 + "id": 13,
  167 + "sortName": "POLO"
  168 + }
  169 + ],
  170 + [
  171 + {
  172 + "id": 3,
  173 + "sortName": "裤装"
  174 + },
  175 + {
  176 + "id": 28,
  177 + "sortName": "短裤"
  178 + }
  179 + ]
  180 + ],
  181 + "startTime": 1464659100,
  182 + "status": 0,
  183 + "useLimit": 121,
  184 + "useLimitType": 2,
  185 + "useNum": 12
  186 + },
  187 + "md5": "faab0af1c130fb181c68263bd904be8d",
  188 + "message": "操作成功"
  189 + }
  190 +
  191 + 说明: sortList 物理类目 brandsIdName:品牌ID及名称列表
  192 +
  193 +
83 194
84 ## 驳回 195 ## 驳回
85 196