yangsai@163.com 7 months ago
parent 333f2d8f6d
commit 03b30a2569
  1. 2
      app/api/model/OrderRefund.php

@ -172,7 +172,7 @@ class OrderRefund extends OrderRefundModel
public function delivery(array $data): bool
{
if (
($this['type'] != RefundTypeEnum::RETURN || $this['type'] != RefundTypeEnum::EXCHANGE)
!in_array($this['type'],[RefundTypeEnum::RETURN,RefundTypeEnum::EXCHANGE])
|| $this['audit_status'] != AuditStatusEnum::REVIEWED
|| $this['is_user_send'] != 0
) {

Loading…
Cancel
Save