Authored by maelk-liu

增加type字段,区分退货换货业务类型,同时两个接口共用同一个topic

... ... @@ -132,10 +132,10 @@ code==200表示成功,其它都为失败
| | |
| :-- | :-- |
| exchanges | amq.topic |
| route key | erp.updateChangeOrderStatus |
| route key | erp.updateChangeRefundOrderStatus |
```json
{"id":1,"status":40}
{"id":1,"status":40,"type":"change"}
```
... ... @@ -233,11 +233,12 @@ code==200表示成功,其它都为失败
| | |
| :-- | :-- |
| exchanges | amq.topic |
| route key | erp.updateRefundOrderStatus |
| route key | erp.updateChangeRefundOrderStatus |
```json
{ "returned_id":1, //returned_id为erp系统退货单id唯一主键
"status":40
"status":40,
"type":"refund"
}
```
... ...