作者 郭鑫

退款修改

... ... @@ -784,6 +784,9 @@ class ThirdsendController extends HomeBaseController
];
// 根据不同订单类型执行退款操作
$orderInfo = $order_model->where($where)->find();
if(empty($orderInfo) || $orderInfo['status'] == 1) {
$this->apiResponse(0,'订单状态错误');
}
$orderInfo['user_type'] = $needInfo['user_type'];
$transaction_id = $orderInfo['transaction_id'];
$order_sn = $orderInfo['order_sn'];
... ... @@ -818,6 +821,9 @@ class ThirdsendController extends HomeBaseController
];
// 根据不同订单类型执行退款操作
$orderInfo = $order_model->where($where)->find();
if(empty($orderInfo) || $orderInfo['status'] == 1) {
$this->apiResponse(0,'订单状态错误');
}
$orderInfo['user_type'] = $agencyInfo['user_type'];
$transaction_id = $orderInfo['transaction_id'];
$order_sn = $orderInfo['order_sn'];
... ...