|
|
## 确认订单
|
|
|
## 前台订单状态同步
|
|
|
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.orderStatus |
|
|
|
|
|
|
> 确认订单
|
|
|
```json
|
|
|
{"orderCode":100000,"status":700}
|
|
|
```
|
|
|
|
|
|
## 取消订单
|
|
|
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.orderStatus |
|
|
|
|
|
|
> 用户主动取消
|
|
|
```json
|
|
|
{"order_code":100000,"status":900}
|
|
|
{"orderCode":100000,"status":900}
|
|
|
```
|
|
|
> 系统自动取消
|
|
|
```json
|
|
|
{"order_code":100000,"status":906}
|
|
|
{"orderCode":100000,"status":906}
|
|
|
```
|
|
|
|
|
|
## 订单状态同步
|
|
|
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.erpstatus |
|
|
|
|
|
|
|
|
|
> 修改订单收货人地址
|
|
|
> 已审核
|
|
|
```json
|
|
|
{"order_code":100000,"status":100}
|
|
|
```
|
|
|
> 已备货
|
|
|
```json
|
|
|
{"order_code":100000,"status":200}
|
|
|
```
|
|
|
### 注意:200是已标记状态,准备打印地址单
|
|
|
|
|
|
> 已交寄
|
|
|
```json
|
|
|
{
|
...
|
...
|
@@ -69,7 +62,7 @@ |
|
|
|
|
|
## 前台创建换货单
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.createChangeOrder |
|
...
|
...
|
@@ -113,7 +106,7 @@ |
|
|
|
|
|
## ERP创建换货单
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | erp.createChangeOrder |
|
...
|
...
|
@@ -158,7 +151,7 @@ |
|
|
|
|
|
## 前台更新换货快递信息
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.updateChangeRefundOrderExpressInfo |
|
...
|
...
|
@@ -175,7 +168,7 @@ |
|
|
|
|
|
## ERP更新换货单状态
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | erp.updateChangeRefundOrderStatus |
|
...
|
...
|
@@ -215,7 +208,7 @@ |
|
|
|
|
|
## 前台创建退货单
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.createRefundOrder |
|
...
|
...
|
@@ -252,7 +245,7 @@ |
|
|
|
|
|
## ERP创建退货单
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | erp.createRefundOrder |
|
...
|
...
|
@@ -292,7 +285,7 @@ |
|
|
|
|
|
## 前台更新退货快递信息
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.updateChangeRefundOrderExpressInfo |
|
...
|
...
|
@@ -311,7 +304,7 @@ |
|
|
|
|
|
## ERP更新退货单状态
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | erp.updateChangeRefundOrderStatus |
|
...
|
...
|
@@ -330,7 +323,7 @@ |
|
|
## 取消退换货
|
|
|
|
|
|
### MQ消息数据结构
|
|
|
| | |
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.changeRefundCancel |
|
...
|
...
|
@@ -343,15 +336,39 @@ |
|
|
```
|
|
|
|
|
|
|
|
|
## 修改订单收货地址MQ
|
|
|
## 用户修改订单收货地址
|
|
|
|
|
|
### MQ消息数据结构
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | order.deliveryAddress |
|
|
|
|
|
|
### MQ队列
|
|
|
queue:erp.deliveryAddressUpdate
|
|
|
```json
|
|
|
[{
|
|
|
"address": "靖南大街688-10号2楼",
|
|
|
"address_id": 61,
|
|
|
"area_code": 330225,
|
|
|
"city": "宁波市",
|
|
|
"district": "象山县",
|
|
|
"email": "canvas220@sina.com",
|
|
|
"mobile": "15258109727",
|
|
|
"order_code": 1607472719,
|
|
|
"parent_order_code": 123,
|
|
|
"phone": "057465772167",
|
|
|
"province": "浙江省",
|
|
|
"user_name": "朱倩倩",
|
|
|
"zip_code": 315700
|
|
|
}]
|
|
|
```
|
|
|
|
|
|
## 客服修改订单收货地址
|
|
|
|
|
|
### MQ消息数据结构
|
|
|
| 参数 | 值 |
|
|
|
| :-- | :-- |
|
|
|
| exchanges | amq.topic |
|
|
|
| route key | erp.deliveryAddressUpdate |
|
|
|
|
|
|
```json
|
|
|
[{
|
...
|
...
|
|