|
|
|
|
@ -819,8 +819,7 @@ class UserOrderController extends Controller
|
|
|
|
|
Yo::error_echo(100000, ['机构/医院']);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if ($order_info->status != 2) Yo::error_echo(200075);
|
|
|
|
|
if ($order_info->check_status == 2) Yo::error_echo(200052);
|
|
|
|
|
|
|
|
|
|
if ($order_info->pay_type != 1) Yo::error_echo(200075);
|
|
|
|
|
$cancel = false;
|
|
|
|
|
switch ($type) {
|
|
|
|
|
@ -829,6 +828,8 @@ class UserOrderController extends Controller
|
|
|
|
|
break;
|
|
|
|
|
case 2:
|
|
|
|
|
// 退款&取消预约
|
|
|
|
|
if ($order_info->status != 2) Yo::error_echo(200075);
|
|
|
|
|
if ($order_info->check_status == 2) Yo::error_echo(200052);
|
|
|
|
|
$cancel = true;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|