|
|
@ -68,12 +68,13 @@ class OrderService implements OrderServiceInterface |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 线上订单退款,整个订单退 |
|
|
|
|
|
|
|
|
* 线上订单退款,整个订单退,这个是专门用于处理用户的申请退款的同意退款操作 |
|
|
* @param $global_order_id |
|
|
* @param $global_order_id |
|
|
* @param $user_id |
|
|
* @param $user_id |
|
|
* @return array |
|
|
* @return array |
|
|
*/ |
|
|
*/ |
|
|
public function onlineRefund($global_order_id, $user_id){ |
|
|
|
|
|
|
|
|
public function onlineRefund($global_order_id, $user_id) |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
Db::beginTransaction(); |
|
|
Db::beginTransaction(); |
|
|
try { |
|
|
try { |
|
|
@ -95,4 +96,17 @@ class OrderService implements OrderServiceInterface |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 线上订单单笔退款 |
|
|
|
|
|
* 支持单商品、单店、整单 |
|
|
|
|
|
* @param $global_order_id 全局总订单ID |
|
|
|
|
|
* @param $child_order_id 主订单ID, |
|
|
|
|
|
* @param $order_goods_id 订单商品ID |
|
|
|
|
|
* @param $note |
|
|
|
|
|
*/ |
|
|
|
|
|
public function onlineSingleRefund($global_order_id, $child_order_id, $order_goods_id, $note) |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |