修改取消订单类型
This commit is contained in:
parent
f9bf260291
commit
6cc8089dde
@ -1932,7 +1932,7 @@ class PatientOrderService extends BaseService
|
|||||||
// 检测订单取消
|
// 检测订单取消
|
||||||
// 取消订单原因(1:主动取消 2:客服取消 3:支付超时)
|
// 取消订单原因(1:主动取消 2:客服取消 3:支付超时)
|
||||||
$DetectionService = new DetectionService();
|
$DetectionService = new DetectionService();
|
||||||
$result = $DetectionService->cancelUnpayDetectionOrder($order_detection['detection_no'], 3, "支付超时");
|
$result = $DetectionService->cancelUnpayDetectionOrder($order_detection['detection_no'], 1, "主动取消");
|
||||||
if ($result['status'] != 1) {
|
if ($result['status'] != 1) {
|
||||||
Db::rollBack();
|
Db::rollBack();
|
||||||
return fail();
|
return fail();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user