|
|
# 根据id查询限购码详情接口
|
|
|
# 根据id查询限购码详情接口
|
|
|
|
|
|
> 接口名: `/limitCode/getLimitCode`
|
|
|
> 接口名: `/limitCode/getLimitCode`
|
|
|
|
|
|
### 方法
|
|
|
### 方法
|
|
|
|
|
|
> POST JSONRAW
|
|
|
|
|
|
### 入参
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|长度限制|
|
|
|
|属性名称|类型|例子|说明|是否必填|长度限制|
|
|
|
|-------|----|----|----|-------|--------|
|
|
|
|id|Integer|83|限购码Id|是|11
|
|
|
|id|Integer|83|限购码Id|是|1~11
|
|
|
--------------------------------
|
|
|
|
|
|
### 对应SQL的操作库表
|
|
|
### 对应SQL的操作库表
|
|
|
|
|
|
```xml
|
|
|
<select id="getLimitCodeAttachById" resultMap="AttachBaseResultMap" >
|
...
|
...
|
@@ -29,15 +29,15 @@ |
|
|
```
|
|
|
|
|
|
|
|
|
### 响应码
|
|
|
### 响应码
|
|
|
|
|
|
-------------------------
|
|
|
|响应码code|消息|说明|
|
|
|
|响应码code|消息|说明|
|
|
|
|--------|----|----|
|
|
|
|200| 获取限购码成功.| |
|
|
|
|400| 参数不能为空.| |
|
|
|
|200| 获取限购码成功.| |
|
|
|
|400| 参数不能为空.| |
|
|
|
|
|
|
### 返回
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
...
|
...
|
@@ -51,15 +51,15 @@ |
|
|
"limitDateFrom": "2016-02-02 00:00:00",
|
|
|
"limitDateTo": "2016-02-18 00:00:00",
|
|
|
"limitTimes": 10,
|
|
|
"name": "第一批次限购码",
|
|
|
"reqDepartment": "运营部",
|
|
|
"name": "第一批次限购码",
|
|
|
"reqDepartment": "运营部",
|
|
|
"skuTimes": "",
|
|
|
"skus": "",
|
|
|
"status": 4,
|
|
|
"userUseLimit": 1
|
|
|
},
|
|
|
"md5": "e3e90eabad29076e86c01fd7407bc623",
|
|
|
"message": "获取限购码成功."
|
|
|
"message": "获取限购码成功."
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|