Kirin 3 år sedan
förälder
incheckning
028a55dda6
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/admin/controller/Index.php

+ 1 - 1
app/admin/controller/Index.php

@@ -65,7 +65,7 @@ class Index extends AuthController
         //待处理提现
         //待处理提现
         $topData['treatedExtract'] = UserExtractModel::where('status', 0)->count();
         $topData['treatedExtract'] = UserExtractModel::where('status', 0)->count();
 
 
-        $topData['treatedRecharge'] = UserRecharge::where('paid', 0)->count();
+        $topData['treatedRecharge'] = UserRecharge::where('paid', 2)->count();
         $topData['treatedSite'] = CashTradeOrder::where('trade_uid', 0)->where('status', -1)->count();
         $topData['treatedSite'] = CashTradeOrder::where('trade_uid', 0)->where('status', -1)->count();
         $topData['USDT'] = UserMoney::where('money_type', 'USDT')->sum('money');
         $topData['USDT'] = UserMoney::where('money_type', 'USDT')->sum('money');
         $topData['recharged'] = UserRecharge::where('recharge_type', 'USDT')->where('paid', 1)->whereTime('add_time', 'today')->sum('price');
         $topData['recharged'] = UserRecharge::where('recharge_type', 'USDT')->where('paid', 1)->whereTime('add_time', 'today')->sum('price');