Showing
1 changed file
with
41 additions
and
5 deletions
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | ------------------------- | 7 | ------------------------- |
8 | |属性名称|类型|例子|说明|是否必填| | 8 | |属性名称|类型|例子|说明|是否必填| |
9 | |--------|----|----|----|--------| | 9 | |--------|----|----|----|--------| |
10 | -|warehouseId|int|12|仓库id|否| | 10 | +|warehouseId|int|12|仓库id|是| |
11 | 11 | ||
12 | ### 返回 | 12 | ### 返回 |
13 | 13 | ||
@@ -44,10 +44,46 @@ | @@ -44,10 +44,46 @@ | ||
44 | ### 返回 | 44 | ### 返回 |
45 | 45 | ||
46 | ```json | 46 | ```json |
47 | + | ||
48 | +``` | ||
49 | +## 3.根据storeId查询所有打印机 | ||
50 | + | ||
51 | +> 接口名: `/StoreController/getPrinterInfosByStoreId` | ||
52 | + | ||
53 | +### 入参 | ||
54 | + | ||
55 | +------------------------- | ||
56 | +|属性名称|类型|例子|说明|是否必填| | ||
57 | +|--------|----|----|----|--------| | ||
58 | +|storeId|int|66|门店id|是| | ||
59 | + | ||
60 | +### 返回 | ||
61 | + | ||
62 | +```json | ||
47 | { | 63 | { |
48 | - "code": 200, | ||
49 | - //品牌ID,int型组成数组,数据类型要一致,如果没有品牌数据,返回空数组[], | ||
50 | - "data": [50,60,80], | ||
51 | - "message": "ok" | 64 | + "code": 200, |
65 | + "message": "success.", | ||
66 | + "md5": null, | ||
67 | + "data": [ | ||
68 | + { | ||
69 | + "id": null, | ||
70 | + //打印机名称 | ||
71 | + "printerName": "yoho", | ||
72 | + //打印机IP | ||
73 | + "printerIp": "0.0.0.0", | ||
74 | + "storeId": 66, | ||
75 | + "storeName": null, | ||
76 | + "createTime": null | ||
77 | + }, | ||
78 | + { | ||
79 | + "id": null, | ||
80 | + "printerName": "qianxuejun", | ||
81 | + "printerIp": "20.20.20.12", | ||
82 | + "storeId": 66, | ||
83 | + "storeName": null, | ||
84 | + "createTime": null | ||
85 | + } | ||
86 | + ] | ||
87 | +} | ||
52 | } | 88 | } |
53 | ``` | 89 | ``` |
-
Please register or login to post a comment