Authored by maelk-liu

增加同步快递信息类别,共用同一个topic:order.updateChangeRefundOrderExpressInfo

@@ -122,10 +122,16 @@ code==200表示成功,其它都为失败 @@ -122,10 +122,16 @@ code==200表示成功,其它都为失败
122 | | | 122 | | |
123 | :-- | :-- | 123 | :-- | :-- |
124 | exchanges | amq.topic | 124 | exchanges | amq.topic |
125 -| route key | order.updateChangeOrderExpressInfo | 125 +| route key | order.updateChangeRefundOrderExpressInfo |
126 126
127 ```json 127 ```json
128 -{"id":1,"apply_id":40,"express_number":"603596395359","express_name":"顺丰","express_id":"23"} 128 +{ "id":1,
  129 + "apply_id":40,
  130 + "express_number":"603596395359",
  131 + "express_name":"顺丰",
  132 + "express_id":"23",
  133 + type:"change" // 表示类型为换货
  134 +}
129 ``` 135 ```
130 136
131 ### ERP更新换货单状态 137 ### ERP更新换货单状态
@@ -219,14 +225,15 @@ code==200表示成功,其它都为失败 @@ -219,14 +225,15 @@ code==200表示成功,其它都为失败
219 | | | 225 | | |
220 | :-- | :-- | 226 | :-- | :-- |
221 | exchanges | amq.topic | 227 | exchanges | amq.topic |
222 -| route key | order.updateRefundOrderExpressInfo | 228 +| route key | order.updateChangeRefundOrderExpressInfo |
223 229
224 ```json 230 ```json
225 { "order_returned_id":1, //order_returned_id为前台退货id唯一主键 231 { "order_returned_id":1, //order_returned_id为前台退货id唯一主键
226 "apply_id":40, //apply_id为erp退货id唯一主键 232 "apply_id":40, //apply_id为erp退货id唯一主键
227 "express_number":"603596395359", 233 "express_number":"603596395359",
228 "express_name":"顺丰", 234 "express_name":"顺丰",
229 - "express_id":"23" 235 + "express_id":"23"
  236 + "type":"refund" // 表示类型为退货
230 } 237 }
231 238
232 239