|
@@ -1883,8 +1883,8 @@ class WholeController extends Curd
|
|
|
if (empty($order)) {
|
|
|
return json_fail('订单数据异常');
|
|
|
}
|
|
|
- if ($order->order_status_system != 'PAYING' || $order->order_category != 'DISHES') {
|
|
|
- return json_fail('仅未支付的餐饮订单可以取消!');
|
|
|
+ if ($order->order_status_system != 'PAYING') {
|
|
|
+ return json_fail('仅未支付的订单可以取消!');
|
|
|
}
|
|
|
if (!empty($order->order_discount_json)) {
|
|
|
$orderDiscountJson = json_decode($order->order_discount_json, true);
|