Ken 1 долоо хоног өмнө
parent
commit
7deb50c069

+ 2 - 0
app/Http/Controllers/admin/Home.php

@@ -48,6 +48,8 @@ class Home extends Controller
             $usdTotalFail = (float)$query1->where('status', 2)->sum('amount');
 
             $result = [
+                'start'=>$start,
+                'end'=>$end,
                 'withdraw_usdt' => [
                     'total_fail' => $usdTotalFail,
                     'total_success' => $usdTotalSuccess,

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

@@ -61,9 +61,6 @@ class Withdraw extends Controller
 
 
             $result = [
-//                'total_fail' => $totalFail,
-//                'total_success' => $totalSuccess,
-//                'total_amount' => $totalAmount,
                 'total' => $count,
                 'data' => $list
             ];