增加type字段,区分退货换货业务类型,同时两个接口共用同一个topic
Showing
1 changed file
with
5 additions
and
4 deletions
@@ -132,10 +132,10 @@ code==200表示成功,其它都为失败 | @@ -132,10 +132,10 @@ code==200表示成功,其它都为失败 | ||
132 | | | | | 132 | | | | |
133 | | :-- | :-- | | 133 | | :-- | :-- | |
134 | | exchanges | amq.topic | | 134 | | exchanges | amq.topic | |
135 | -| route key | erp.updateChangeOrderStatus | | 135 | +| route key | erp.updateChangeRefundOrderStatus | |
136 | 136 | ||
137 | ```json | 137 | ```json |
138 | -{"id":1,"status":40} | 138 | +{"id":1,"status":40,"type":"change"} |
139 | ``` | 139 | ``` |
140 | 140 | ||
141 | 141 | ||
@@ -233,11 +233,12 @@ code==200表示成功,其它都为失败 | @@ -233,11 +233,12 @@ code==200表示成功,其它都为失败 | ||
233 | | | | | 233 | | | | |
234 | | :-- | :-- | | 234 | | :-- | :-- | |
235 | | exchanges | amq.topic | | 235 | | exchanges | amq.topic | |
236 | -| route key | erp.updateRefundOrderStatus | | 236 | +| route key | erp.updateChangeRefundOrderStatus | |
237 | 237 | ||
238 | ```json | 238 | ```json |
239 | { "returned_id":1, //returned_id为erp系统退货单id唯一主键 | 239 | { "returned_id":1, //returned_id为erp系统退货单id唯一主键 |
240 | - "status":40 | 240 | + "status":40, |
241 | + "type":"refund" | ||
241 | } | 242 | } |
242 | 243 | ||
243 | ``` | 244 | ``` |
-
Please register or login to post a comment