Authored by caoyan

add getLimitCode接口

@@ -119,6 +119,42 @@ @@ -119,6 +119,42 @@
119 119
120 ``` 120 ```
121 121
  122 +# 获取限购码详情
  123 +
  124 +> 接口名: `/limitCode/getLimitCode`
  125 +
  126 +### 入参
  127 +
  128 +-------------------------
  129 +|属性名称|类型|例子|说明|是否必填|
  130 +|-------|----|----|----|-------|
  131 +|id|int|7|限购码ID|是|
  132 +--------------------------------
  133 +
  134 +### 返回
  135 +
  136 +``` json
  137 +{
  138 + "code": 200,
  139 + "data": {
  140 + "batchNo": "201602031002",
  141 + "createTime": "2016-02-03 17:33:08",
  142 + "describe": "",
  143 + "id": 7,
  144 + "limitDateFrom": "2016-01-01",
  145 + "limitDateTo": "2016-01-31",
  146 + "limitTimes": 10,
  147 + "name": "第一批次限购码",
  148 + "reqDepartment": "运营部",
  149 + "status": 0,
  150 + "userUseLimit": 1
  151 + }
  152 + "md5": "6d6052f3afcec10ba4d4c8490cd8e5eb",
  153 + "message": "getLimitCode success."
  154 +}
  155 +
  156 +```
  157 +
122 158
123 # 更新限购码接口 159 # 更新限购码接口
124 160