去除订单限制

This commit is contained in:
baji 2025-03-11 14:15:38 +08:00
parent 8399adb563
commit d8a92ee04f

View File

@ -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;
}
/**
* 发货订单导出
*/
/**
* 发货订单导出
*/