Ken 14 часов назад
Родитель
Сommit
9511278edb
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/Http/Controllers/admin/Wallet.php

+ 2 - 2
app/Http/Controllers/admin/Wallet.php

@@ -65,9 +65,9 @@ class Wallet extends Controller
             ->where('status', 0)->count();
 
         if (MenuService::checkMenu(request()->user->id, "listUSDT")) {
-            $data['withdraw_task'] = Withdraw::where('status', 0)->count();
-        }
 
+        }
+        $data['withdraw_task'] = Withdraw::where('status', 0)->count();
         if (MenuService::checkMenu(request()->user->id, "listRMB")) {
             $data['rmb_withdraw_task'] = PaymentOrder::where('type', 2)
                 ->where('status', 0)->count();