2018-04-04 15:51:42 +08:00
2018-04-10 15:43:12 +08:00
< h1 class = "curproject-name" > swagger_test < / h1 >
啊啊啊啊啊啊
2018-04-04 15:51:42 +08:00
2018-04-10 15:43:12 +08:00
# eeeeeee
2018-04-04 15:51:42 +08:00
[TOC]
2018-04-10 15:43:12 +08:00
## 13%0A%3Ca%20id%3D13%3E%20%3C/a%3E
2018-04-04 15:51:42 +08:00
[TOC]
2018-04-10 15:43:12 +08:00
### 基本信息
**Path: ** /api/13
**Method: ** GET
**接口描述:**
### 请求参数
**Query**
2018-04-04 15:51:42 +08:00
2018-04-10 15:43:12 +08:00
| 参数名称 | 是否必须 | 示例 | 备注 |
| ------------ | ------------ | ------------ | ------------ |
| qqq | 是 | | |
| wwww | 是 | | |
| wwwww | 是 | | |
### 返回数据
< table >
< thead class = "ant-table-thead" >
< tr >
< th key = name > 名称< / th > < th key = type > 类型< / th > < th key = required > 是否必须< / th > < th key = default > 默认值< / th > < th key = desc > 备注< / th > < th key = sub > 其他信息< / th >
< / tr >
</ thead >< tbody className = "ant-table-tbody" >< tr key = 0-0 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > id</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span > The unique identifier for product</ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-1 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > name</ span ></ td >< td key = 1 >< span > string</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-2 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > price</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 >< p key = 1 >< span style = "font-weight: '700'" > 最小值: </ span >< span > 0</ span ></ p ></ td ></ tr >< tr key = 0-3 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > arr</ span ></ td >< td key = 1 >< span > string []</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span > sdfsdf</ span ></ td >< td key = 5 >< p key = 3 >< span style = "font-weight: '700'" > item 类型: </ span >< span > string</ span ></ p ></ td ></ tr >< tr key = 0-4 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > tags</ span ></ td >< td key = 1 >< span > object []</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 >< p key = 0 >< span style = "font-weight: '700'" > 最小数量: </ span >< span > 1</ span ></ p >< p key = 1 >< span style = "font-weight: '700'" > 元素是否都不同: </ span >< span > true</ span ></ p >< p key = 3 >< span style = "font-weight: '700'" > item 类型: </ span >< span > object</ span ></ p ></ td ></ tr >< tr key = 0-4-0 >< td key = 0 >< span style = "padding-left: 20px" >< span style = "color: #8c8a8a " > ├─</ span > length</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-4-1 >< td key = 0 >< span style = "padding-left: 20px" >< span style = "color: #8c8a8a " > ├─</ span > width</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-4-2 >< td key = 0 >< span style = "padding-left: 20px" >< span style = "color: #8c8a8a " > ├─</ span > height</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-5 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > dimensions</ span ></ td >< td key = 1 >< span > object</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-5-0 >< td key = 0 >< span style = "padding-left: 20px" >< span style = "color: #8c8a8a " > ├─</ span > length</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-5-1 >< td key = 0 >< span style = "padding-left: 20px" >< span style = "color: #8c8a8a " > ├─</ span > width</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-5-2 >< td key = 0 >< span style = "padding-left: 20px" >< span style = "color: #8c8a8a " > ├─</ span > height</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >
< / tbody >
< / table >
## 16%0A%3Ca%20id%3D16%3E%20%3C/a%3E
2018-04-04 15:51:42 +08:00
[TOC]
### 基本信息
2018-04-10 15:43:12 +08:00
**Path: ** /api/16
**Method: ** GET
**接口描述:**
### 请求参数
### 返回数据
< table >
< thead class = "ant-table-thead" >
< tr >
< th key = name > 名称< / th > < th key = type > 类型< / th > < th key = required > 是否必须< / th > < th key = default > 默认值< / th > < th key = desc > 备注< / th > < th key = sub > 其他信息< / th >
< / tr >
</ thead >< tbody className = "ant-table-tbody" >< tr key = 0-0 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > success</ span ></ td >< td key = 1 >< span > boolean</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 >< p key = 0 >< span style = "font-weight: '700'" > 枚举: </ span >< span > true,false</ span ></ p ></ td ></ tr >< tr key = 0-1 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > data</ span ></ td >< td key = 1 >< span > object</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-1-0 >< td key = 0 >< span style = "padding-left: 20px" >< span style = "color: #8c8a8a " > ├─</ span > success</ span ></ td >< td key = 1 >< span > boolean</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 >< p key = 0 >< span style = "font-weight: '700'" > 枚举: </ span >< span > true</ span ></ p ></ td ></ tr >< tr key = 0-1-1 >< td key = 0 >< span style = "padding-left: 20px" >< span style = "color: #8c8a8a " > ├─</ span > data</ span ></ td >< td key = 1 >< span > object</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-1-1-0 >< td key = 0 >< span style = "padding-left: 40px" >< span style = "color: #8c8a8a " > ├─</ span > count</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-1-1-1 >< td key = 0 >< span style = "padding-left: 40px" >< span style = "color: #8c8a8a " > ├─</ span > rows</ span ></ td >< td key = 1 >< span > object []</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 >< p key = 3 >< span style = "font-weight: '700'" > item 类型: </ span >< span > object</ span ></ p ></ td ></ tr >< tr key = 0-1-1-1-0 >< td key = 0 >< span style = "padding-left: 60px" >< span style = "color: #8c8a8a " > ├─</ span > name</ span ></ td >< td key = 1 >< span > string</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-1-1-1-1 >< td key = 0 >< span style = "padding-left: 60px" >< span style = "color: #8c8a8a " > ├─</ span > id</ span ></ td >< td key = 1 >< span > string</ span ></ td >< td key = 2 > 非必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 ></ td ></ tr >
< / tbody >
< / table >
## 22%0A%3Ca%20id%3D22%3E%20%3C/a%3E
[TOC]
### 基本信息
**Path: ** /api/22
2018-04-04 15:51:42 +08:00
**Method: ** POST
**接口描述:**
### 请求参数
**Headers**
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
| ------------ | ------------ | ------------ | ------------ | ------------ |
| Content-Type | application/json | 是 | | |
**Body**
2018-04-10 15:43:12 +08:00
< table >
< thead class = "ant-table-thead" >
< tr >
< th key = name > 名称< / th > < th key = type > 类型< / th > < th key = required > 是否必须< / th > < th key = default > 默认值< / th > < th key = desc > 备注< / th > < th key = sub > 其他信息< / th >
< / tr >
</ thead >< tbody className = "ant-table-tbody" >< tr key = 0-0 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > id</ span ></ td >< td key = 1 >< span > integer</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span > The unique identifier for a product</ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-1 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > name</ span ></ td >< td key = 1 >< span > string</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span > Name of the product</ span ></ td >< td key = 5 ></ td ></ tr >< tr key = 0-2 >< td key = 0 >< span style = "padding-left: 0px" >< span style = "color: #8c8a8a " ></ span > price</ span ></ td >< td key = 1 >< span > number</ span ></ td >< td key = 2 > 必须</ td >< td key = 3 ></ td >< td key = 4 >< span ></ span ></ td >< td key = 5 >< p key = 1 >< span style = "font-weight: '700'" > 最小值: </ span >< span > 0</ span ></ p ></ td ></ tr >
< / tbody >
< / table >
2018-04-04 15:51:42 +08:00
### 返回数据
```javascript
2018-04-10 15:43:12 +08:00
/**
* 这是一个 response 事例
*/
2018-04-04 15:51:42 +08:00
{
2018-04-10 15:43:12 +08:00
"errcode": 0, //错误编码
"data": {
"id": "uuid-xxx", //产品id
"name": "iphone" //产品名称
}
2018-04-04 15:51:42 +08:00
}
2018-04-10 15:43:12 +08:00
2018-04-04 15:51:42 +08:00
```
2018-04-10 15:43:12 +08:00
# ee
[TOC]
# tag
[TOC]
# %u545C%u545C%u545C
2018-04-04 15:51:42 +08:00
[TOC]