修改优惠卷退还
This commit is contained in:
parent
4d4e6387c9
commit
57bb13148a
@ -247,7 +247,6 @@ class OrderService extends BaseService
|
|||||||
$data['patient_id'] = $order['patient_id'];
|
$data['patient_id'] = $order['patient_id'];
|
||||||
$data['order_no'] = $order['order_no'];
|
$data['order_no'] = $order['order_no'];
|
||||||
$data['refund_no'] = $refund_no;
|
$data['refund_no'] = $refund_no;
|
||||||
$data['inquiry_refund_no'] = $refund_no;
|
|
||||||
$data['refund_id'] = $refund_id;
|
$data['refund_id'] = $refund_id;
|
||||||
$data['refund_status'] = $refund_status;
|
$data['refund_status'] = $refund_status;
|
||||||
$data['refund_total'] = $order['payment_amount_total'];
|
$data['refund_total'] = $order['payment_amount_total'];
|
||||||
|
|||||||
@ -397,7 +397,7 @@ class PatientOrderService extends BaseService
|
|||||||
$redis->del($redis_key);
|
$redis->del($redis_key);
|
||||||
|
|
||||||
Db::commit();
|
Db::commit();
|
||||||
} catch (\Exception $e) {
|
} catch (\Throwable $e) {
|
||||||
Db::rollBack();
|
Db::rollBack();
|
||||||
return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage());
|
return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage());
|
||||||
}
|
}
|
||||||
@ -417,7 +417,7 @@ class PatientOrderService extends BaseService
|
|||||||
$MessagePush = new MessagePush($user_doctor['user_id'], $order_inquiry['inquiry_no']);
|
$MessagePush = new MessagePush($user_doctor['user_id'], $order_inquiry['inquiry_no']);
|
||||||
$MessagePush->patientCancelInquiryToDoctor();
|
$MessagePush->patientCancelInquiryToDoctor();
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Throwable $e) {
|
||||||
return success();
|
return success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user