diff --git a/app/admin/controller/Order.php b/app/admin/controller/Order.php index 1e5f024..70e5583 100755 --- a/app/admin/controller/Order.php +++ b/app/admin/controller/Order.php @@ -491,12 +491,12 @@ class Order extends Base if ($info['status'] == 4) { return $this->renderError('请勿重复操作'); } - if ($info['status'] == 1) { - return $this->renderError('该订单未发货'); - } - if ($info['status'] != 2) { - return $this->renderError('请求参数错误1'); - } + // if ($info['status'] == 1) { + // return $this->renderError('该订单未发货'); + // } + // if ($info['status'] != 2) { + // return $this->renderError('请求参数错误1'); + // } if ($info['freight'] > 0) { $wxServer = new \app\common\server\WechatRefund($this->app); $refund_res = $wxServer->OrderRefund($info); @@ -711,10 +711,6 @@ class Order extends Base exit; } - - /** - * 发货订单导出 - */ /** * 发货订单导出 */