Ken 1 день назад
Родитель
Сommit
32a71e65bd
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      app/Http/Controllers/admin/Wallet.php

+ 3 - 0
app/Http/Controllers/admin/Wallet.php

@@ -53,6 +53,9 @@ class Wallet extends Controller
      */
      */
     function getPendingTasks()
     function getPendingTasks()
     {
     {
+        if(MenuService::checkMenu(request()->user->id,'')){
+
+        }
         $data['recharge_task'] = Recharge::where('type', 2)->where('status', 0)->count();
         $data['recharge_task'] = Recharge::where('type', 2)->where('status', 0)->count();
         $data['withdraw_task'] = Withdraw::where('status', 0)->count();
         $data['withdraw_task'] = Withdraw::where('status', 0)->count();
         $data['rmb_withdraw_task'] = PaymentOrder::where('type', 2)->where('status', 0)->count();
         $data['rmb_withdraw_task'] = PaymentOrder::where('type', 2)->where('status', 0)->count();