更新退货判断
This commit is contained in:
parent
f97af3626c
commit
8c55a4e04d
@ -130,7 +130,9 @@ class StoreRefundOrder extends BaseController
|
||||
if (!$order->refund_status)
|
||||
return app('json')->fail('订单已过退款/退货期限');
|
||||
if ($order->status < 0) return app('json')->fail('订单已退款');
|
||||
if ($order->activity_type == 0) {
|
||||
if ($order->status == 1) return app('json')->fail('订单已发货不支持退款');
|
||||
}
|
||||
if ($order->status == 10) return app('json')->fail('订单不支持退款');
|
||||
if($order->is_virtual && $data['refund_type'] == 2) return app('json')->fail('订单不支持退款退货');
|
||||
if ($type == 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user