Bladeren bron

id_find 增加每日最高分 每日最高赢分

laowu 1 dag geleden
bovenliggende
commit
47681c00c4

+ 2 - 1
app/Http/logic/admin/GlobalLogicController.php

@@ -670,7 +670,8 @@ class GlobalLogicController extends BaseLogicController
             'waitGetEmailScore' => $waitGetEmailScore,
             'score' => $score,
             'insureScore' => $insureScore,
-
+            'todayMaxScore' => $today[0]->MaxScore ?? 0,
+            'todayMaxWinScore' => $today[0]->MaxWinScore ?? 0,
 
         ];
 

+ 1 - 1
app/Models/AccountsInfo.php

@@ -468,7 +468,7 @@ class AccountsInfo extends Model
         return DB::connection('read')->table(TableName::QPRecordDB() . 'RecordUserDataStatisticsNew')
             ->where('DateID', date('Ymd'))
             ->whereIn('UserID', $UserIDs)
-            ->selectRaw('Withdraw,Handsel, Recharge, (WinScore + LostScore) Score,ServiceFee,UserID')
+            ->selectRaw('Withdraw,Handsel, Recharge, (WinScore + LostScore) Score,ServiceFee,UserID,MaxScore,MaxWinScore')
             ->get();
     }
 

+ 2 - 2
resources/views/admin/global/id_list.blade.php

@@ -138,12 +138,12 @@
 
                             <tr>
                                 <td>{{ __('auto.最高分') }}</td>
-                                <td>{{ $userInfo->gameScoreInfo->MaxScore/100 }}</td>
+                                <td>{{ $userInfo->gameScoreInfo->MaxScore/100 }} / {{ $data['todayMaxScore']/100 }}</td>
                             </tr>
 
                             <tr>
                                 <td>{{ __('auto.最多赢分') }}</td>
-                                <td>{{ $userInfo->gameScoreInfo->MaxWinScore/100 }}</td>
+                                <td>{{ $userInfo->gameScoreInfo->MaxWinScore/100 }} / {{ $data['todayMaxWinScore']/100 }}</td>
                             </tr>
 
                             <tr>