rabin hai 6 meses
pai
achega
c3ff456abe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/place/api/Resource.php

+ 1 - 1
src/place/api/Resource.php

@@ -152,7 +152,7 @@ class Resource extends Main
     public function applyRefundAct()
     {
         $info = $this->service->getOrderView();
-        if ($info && $info['type'] == 1 && $info['status'] > 1 && $info['status'] < 7 && !$info['refund_cur']) {
+        if ($info && $info['type'] == 1 && $info['status'] > 1 && $info['status'] < 7 && !$info['refund']) {
             $type = Dever::input('apply_type', 'is_numeric', '申请类型');
             $desc_type = Dever::input('desc_type', 'is_numeric', '申请原因');
             $cash = Dever::input('cash', 'is_numeric', '退款金额');