rabin 6 hónapja
szülő
commit
c3ff456abe
1 módosított fájl, 1 hozzáadás és 1 törlés
  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', '退款金额');