Showing
1 changed file
with
80 additions
and
1 deletions
1 | # 店铺装修接口 | 1 | # 店铺装修接口 |
2 | 2 | ||
3 | ## 保存店铺装修系信息 | 3 | ## 保存店铺装修系信息 |
4 | -> POST `/shops/decorator/saveShopsDecorator` | 4 | +> POST `/ShopsDecoratorRest/saveShopsDecorator` |
5 | 5 | ||
6 | ### 入参 | 6 | ### 入参 |
7 | 7 | ||
@@ -89,3 +89,82 @@ | @@ -89,3 +89,82 @@ | ||
89 | "message": "操作成功" | 89 | "message": "操作成功" |
90 | } | 90 | } |
91 | ``` | 91 | ``` |
92 | + | ||
93 | + | ||
94 | +## 查询店铺装修信息 | ||
95 | +> POST `/ShopsDecoratorRest/findShopsDecorator` | ||
96 | + | ||
97 | +### 入参 | ||
98 | + | ||
99 | +```json | ||
100 | + | ||
101 | +{ | ||
102 | + "page":1, | ||
103 | + "size":20, | ||
104 | + "shopsId":1, | ||
105 | + "checkStatus": 100, | ||
106 | + "supplierId": 1, | ||
107 | + "brandId": 1 | ||
108 | +} | ||
109 | +``` | ||
110 | + | ||
111 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
112 | +|------ |---- |---- |------ |---- | | ||
113 | +|page |否 |int |1 |页数 | | ||
114 | +|size |否 |int |20 |每页大小 | | ||
115 | +|shopsId |否 |int |1 |店铺编号 | | ||
116 | +|checkStatus |否 |int |100 |审核状态 | | ||
117 | +|supplierId |否 |int |1 |供应商编号 | | ||
118 | +|brandId |否 |int |1 |品牌编号 | | ||
119 | + | ||
120 | + | ||
121 | +### 返回 | ||
122 | + | ||
123 | +```json | ||
124 | + | ||
125 | +{ | ||
126 | + "code": 200, | ||
127 | + "message": "操作成功", | ||
128 | + "data":{ | ||
129 | + "page":1, | ||
130 | + "size":20, | ||
131 | + "total":101, | ||
132 | + "totalPage":6, | ||
133 | + "list":[{ | ||
134 | + "id":1, | ||
135 | + "shopsId":1, | ||
136 | + "shopsName":"T.U.K", | ||
137 | + "checkStatus":100, | ||
138 | + "createTime":1454551897, | ||
139 | + "updateTime":1454551897, | ||
140 | + "status":1, | ||
141 | + "brands":[{ | ||
142 | + "id":517, | ||
143 | + "brandName":"T.U.K", | ||
144 | + "brandNameCn":"", | ||
145 | + "brandNameEn":"T.U.K" | ||
146 | + }] | ||
147 | + }] | ||
148 | + } | ||
149 | +} | ||
150 | +``` | ||
151 | + | ||
152 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
153 | +|------ |---- |---- |------ |---- | | ||
154 | +|page |是 |int |1 |页数 | | ||
155 | +|size |是 |int |20 |每页大小 | | ||
156 | +|total |是 |int |1 |总记录数 | | ||
157 | +|totalPage |是 |int |100 |总页数 | | ||
158 | +|list |是 |json | |店铺装修信息 | | ||
159 | +|id |否 |int |1 |店铺装修编号 | | ||
160 | +|shopsId |是 |int |1 |店铺编号 | | ||
161 | +|shopsName |是 |string |T.U.K |店铺名称 | | ||
162 | +|checkStatus |否 |int |100 |店铺装修审核状态| | ||
163 | +|createTime |否 |int |1454551897 |店铺创建时间 | | ||
164 | +|updateTime |否 |int |1454551897 |店铺更新时间 | | ||
165 | +|status |否 |int |1 |店铺装修状态 | | ||
166 | +|brands |否 |json | |品牌信息 | | ||
167 | +|id |否 |int |517 |品牌编号 | | ||
168 | +|brandName |否 |string |T.U.K |品牌名称 | | ||
169 | +|brandNameCn |否 |string | |品牌中文名称 | | ||
170 | +|brandNameEn |否 |string |T.U.K |品牌英文名称 | |
-
Please register or login to post a comment