Showing
1 changed file
with
15 additions
and
5 deletions
@@ -108,7 +108,8 @@ | @@ -108,7 +108,8 @@ | ||
108 | "isFreeze": "N", | 108 | "isFreeze": "N", |
109 | "supplierId": 480, | 109 | "supplierId": 480, |
110 | "supplierName": "成都朋克汉堡服装有限公司", | 110 | "supplierName": "成都朋克汉堡服装有限公司", |
111 | - "supplierStatus": 300 | 111 | + "supplierStatus": 300, |
112 | + "method":"add" | ||
112 | }, | 113 | }, |
113 | { | 114 | { |
114 | "agreementEndTime": "2017-01-31 00:00:00", | 115 | "agreementEndTime": "2017-01-31 00:00:00", |
@@ -120,7 +121,8 @@ | @@ -120,7 +121,8 @@ | ||
120 | "isFreeze": "N", | 121 | "isFreeze": "N", |
121 | "supplierId": 310, | 122 | "supplierId": 310, |
122 | "supplierName": "上海贺王工贸实业公司", | 123 | "supplierName": "上海贺王工贸实业公司", |
123 | - "supplierStatus": 300 | 124 | + "supplierStatus": 300, |
125 | + "method":"delete" | ||
124 | }, | 126 | }, |
125 | { | 127 | { |
126 | "agreementEndTime": "2016-12-19 00:00:00", | 128 | "agreementEndTime": "2016-12-19 00:00:00", |
@@ -132,7 +134,8 @@ | @@ -132,7 +134,8 @@ | ||
132 | "isFreeze": "N", | 134 | "isFreeze": "N", |
133 | "supplierId": 1226, | 135 | "supplierId": 1226, |
134 | "supplierName": "上海矩乐文化发展有限公司", | 136 | "supplierName": "上海矩乐文化发展有限公司", |
135 | - "supplierStatus": 300 | 137 | + "supplierStatus": 300, |
138 | + "method":"" | ||
136 | } | 139 | } |
137 | ], | 140 | ], |
138 | "shopsId": 454, | 141 | "shopsId": 454, |
@@ -230,15 +233,22 @@ shopRelation的json格式为: | @@ -230,15 +233,22 @@ shopRelation的json格式为: | ||
230 | { | 233 | { |
231 | "brandId":355, | 234 | "brandId":355, |
232 | "supplierId":310, | 235 | "supplierId":310, |
233 | - "agreementEndTime":1485792000 | 236 | + "agreementEndTime":1485792000, |
237 | + "method":"delete" | ||
234 | }, | 238 | }, |
235 | { | 239 | { |
236 | "brandId":1389, | 240 | "brandId":1389, |
237 | "supplierId":1226, | 241 | "supplierId":1226, |
238 | - "agreementEndTime":1482076800 | 242 | + "agreementEndTime":1482076800, |
243 | + "method":"add" | ||
239 | } | 244 | } |
240 | ] | 245 | ] |
241 | ``` | 246 | ``` |
247 | +其中的method字段 | ||
248 | +add-新增 | ||
249 | +delete-删除 | ||
250 | +为空-则为无变化 | ||
251 | + | ||
242 | 252 | ||
243 | ### 返回 | 253 | ### 返回 |
244 | 返回码code为200就是成功,其余为失败。 | 254 | 返回码code为200就是成功,其余为失败。 |
-
Please register or login to post a comment