|
|
@@ -585,8 +585,8 @@ class IntraCityController extends BaseController
|
|
|
if ($order['mainId'] != $this->mainId) {
|
|
|
util::fail('订单未找到');
|
|
|
}
|
|
|
- if ($order['sendStatus'] != 1) {
|
|
|
- util::fail('配送单状态不是配送中');
|
|
|
+ if ($order['sendStatus'] != 1 || $order['sendStatus'] != 0) {
|
|
|
+ util::fail('不能取消,请刷新页面');
|
|
|
}
|
|
|
|
|
|
// 检查是否存在重复的订单,如果存在,则使用最后一个订单的 store_order_id
|