shish 1 год назад
Родитель
Сommit
76678e755a
1 измененных файлов с 4 добавлено и 0 удалено
  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)) {
             $where['shopAdminId'] = $shopAdminId;
         }
+        $status = $get['status'] ?? -1;
+        if ($status > -1) {
+            $where['status'] = $status;
+        }
         $list = RefundOrderClass::getOrderList($where);
         util::success($list);
     }