去除订单限制
This commit is contained in:
parent
8399adb563
commit
d8a92ee04f
|
|
@ -491,12 +491,12 @@ class Order extends Base
|
||||||
if ($info['status'] == 4) {
|
if ($info['status'] == 4) {
|
||||||
return $this->renderError('请勿重复操作');
|
return $this->renderError('请勿重复操作');
|
||||||
}
|
}
|
||||||
if ($info['status'] == 1) {
|
// if ($info['status'] == 1) {
|
||||||
return $this->renderError('该订单未发货');
|
// return $this->renderError('该订单未发货');
|
||||||
}
|
// }
|
||||||
if ($info['status'] != 2) {
|
// if ($info['status'] != 2) {
|
||||||
return $this->renderError('请求参数错误1');
|
// return $this->renderError('请求参数错误1');
|
||||||
}
|
// }
|
||||||
if ($info['freight'] > 0) {
|
if ($info['freight'] > 0) {
|
||||||
$wxServer = new \app\common\server\WechatRefund($this->app);
|
$wxServer = new \app\common\server\WechatRefund($this->app);
|
||||||
$refund_res = $wxServer->OrderRefund($info);
|
$refund_res = $wxServer->OrderRefund($info);
|
||||||
|
|
@ -711,10 +711,6 @@ class Order extends Base
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 发货订单导出
|
|
||||||
*/
|
|
||||||
/**
|
/**
|
||||||
* 发货订单导出
|
* 发货订单导出
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user