Authored by LUOXC

update

@@ -98,7 +98,7 @@ @@ -98,7 +98,7 @@
98 | exchanges | amq.topic | 98 | exchanges | amq.topic |
99 | route key | erp.createChangeOrder | 99 | route key | erp.createChangeOrder |
100 100
101 -成功 101 +> 成功
102 102
103 ```json 103 ```json
104 { 104 {
@@ -117,7 +117,7 @@ @@ -117,7 +117,7 @@
117 } 117 }
118 ``` 118 ```
119 119
120 -失败 120 +> 客服驳回
121 121
122 ```json 122 ```json
123 { 123 {
@@ -214,7 +214,7 @@ @@ -214,7 +214,7 @@
214 | route key | erp.createRefundOrder | 214 | route key | erp.createRefundOrder |
215 215
216 216
217 -成功 217 +> 成功
218 218
219 ```json 219 ```json
220 { 220 {
@@ -231,7 +231,7 @@ @@ -231,7 +231,7 @@
231 } 231 }
232 ``` 232 ```
233 233
234 -失败 234 +> 客服驳回
235 235
236 ```json 236 ```json
237 { 237 {
@@ -279,53 +279,4 @@ @@ -279,53 +279,4 @@
279 "type":"refund" //"change" 表示换货类型,"refund"表示退货类型 279 "type":"refund" //"change" 表示换货类型,"refund"表示退货类型
280 } 280 }
281 281
282 -```  
283 -  
284 -  
285 -  
286 -## 取消订单  
287 -  
288 -### 影响数据库  
289 -| 操作方式 | 表名 | 主要字段 | 描述 |  
290 -| :-- | :-- | :-- | :-- |  
291 -| U | yh_orders.orders | is_cancel = 'Y', cancel_type = 2 | 订单状态 |  
292 -| U | yhb_promotion.coupons_logs | status = 0, is_cancel = 'Y',use_time = 0, order_code =0 | 返优惠券 |  
293 -| I | yhb_promotion.user_coupon_logs_sync | | 返优惠券 |  
294 -| U | yhb_promotion.user_promotion_code_history | is_use = 0 | 返限购码 |  
295 -| U | yhb_promotion.limit_code_use_record | status = 1, update_time | 返限购码 |  
296 -| I | yoho_passport.yoho_redenvelopes | type = 3 | 返红包 |  
297 -| I | yoho_passport.yoho_coin_cost | | 返YOHO币 |  
298 -| I | yoho_passport.yoho_coin_history | | 返YOHO币 |  
299 -  
300 -  
301 -## 订单状态同步  
302 -  
303 -### 影响数据库  
304 -| 操作方式 | 表名 | 主要字段 | 描述 |  
305 -| :-- | :-- | :-- | :-- |  
306 -| U | yh_orders.orders | status | 订单状态 |  
307 -  
308 -  
309 -## 前台创建换货单  
310 -  
311 -### 影响数据库  
312 -| 操作方式 | 表名 | 主要字段 | 描述 |  
313 -| :-- | :-- | :-- | :-- |  
314 -| I | yh_orders.refund_goods | | 退换货列表 |  
315 -| I | yh_orders.refund_goods_list | | 退换货列表 |  
316 -| I | yh_orders.change_goods | | 换货单 |  
317 -| I | yh_orders.change_goods_list | | 换货单商品 |  
318 -| U | | | 库存表 |  
319 -  
320 -  
321 -  
322 -## 前台更新换货快递信息  
323 -### 影响数据库  
324 -| 操作方式 | 表名 | 主要字段 | 描述 |  
325 -| :-- | :-- | :-- | :-- |  
326 -| I/U | yh_orders.express_orders | | 快递信息表 |  
327 -| U | yh_orders.refund_goods | | 退换货列表 |  
328 -  
329 -  
330 -  
331 - 282 +```