shish 1 anno fa
parent
commit
76678e755a
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      app-ghs/controllers/RefundController.php

+ 4 - 0
app-ghs/controllers/RefundController.php

@@ -335,6 +335,10 @@ class RefundController extends BaseController
         if (!empty($shopAdminId)) {
         if (!empty($shopAdminId)) {
             $where['shopAdminId'] = $shopAdminId;
             $where['shopAdminId'] = $shopAdminId;
         }
         }
+        $status = $get['status'] ?? -1;
+        if ($status > -1) {
+            $where['status'] = $status;
+        }
         $list = RefundOrderClass::getOrderList($where);
         $list = RefundOrderClass::getOrderList($where);
         util::success($list);
         util::success($list);
     }
     }