rabin 6 달 전
부모
커밋
c3ff456abe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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', '退款金额');