| xqd
@@ -690,7 +690,7 @@ class OrderController extends AuthController
|
|
|
]);
|
|
|
$user = $this->user;
|
|
|
|
|
|
- $order = Order::with(['orderPatient'])->where('id', $req['order_id'])->first();
|
|
|
+ $order = Order::with(['orderPatient'])->where('id', $req['order_id'])->first()->toArray();
|
|
|
if ($order['order_status'] == 4) {
|
|
|
return out(null, 10001, '订单已完成,不能取消了');
|
|
|
}
|