|
|
@@ -646,9 +646,9 @@ class IntraCityController extends BaseController
|
|
|
if ($order->status != 3) {
|
|
|
util::fail('不能取消');
|
|
|
}
|
|
|
- if (in_array($order->sendStatus, [-1, 2, 3])) {
|
|
|
+ if (in_array($order->sendStatus, [-2, 2, 3])) {
|
|
|
//订单 没叫跑腿、已送达、已取消
|
|
|
- util::fail('不能取消哈');
|
|
|
+ util::fail('不能取消哈,编号666');
|
|
|
}
|
|
|
$cgId = $order->purchaseId ?? 0;
|
|
|
$cg = PurchaseClass::getById($cgId, true);
|