Authored by liqingzhong

统一返回格式

@@ -90,7 +90,20 @@ code==200表示成功,其它都为失败 @@ -90,7 +90,20 @@ code==200表示成功,其它都为失败
90 | route key | erp.createChangeOrder | 90 | route key | erp.createChangeOrder |
91 91
92 ```json 92 ```json
93 -{"id":1,"init_order_code":"111","source_order_code":1111,"new_order_code":1111,"exchange_id":111,"returned_id":111,"exchange_status":10,"returned_status":10} 93 +{
  94 + "code": 200,
  95 + "message": "ok",
  96 + "data": {
  97 + "id": 1,
  98 + "init_order_code": "111",
  99 + "source_order_code": 1111,
  100 + "new_order_code": 1111,
  101 + "exchange_id": 111,
  102 + "returned_id": 111,
  103 + "exchange_status": 10,
  104 + "returned_status": 10
  105 + }
  106 +}
94 ``` 107 ```
95 108
96 ### 前台更新换货快递信息 109 ### 前台更新换货快递信息