wesmiler 1 năm trước cách đây
mục cha
commit
054b200834
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      app/Services/Api/AccountLogService.php

+ 4 - 4
app/Services/Api/AccountLogService.php

@@ -168,10 +168,10 @@ class AccountLogService extends BaseService
             'award_total' => $this->getScoreCountByDate(1, $coinType, 9,3),
         ];
 
-        $xdTotal = ConfigService::make()->getConfigByCode('xd_total', 100000000);
-        $xdTotal = $xdTotal>0? $xdTotal : 100000000;
-        $counts['xd_total'] = $xdTotal;
-        $counts['remain_total'] = moneyFormat($xdTotal - ($counts['day_total'] + $counts['award_total']),2);
+        $xlTotal = ConfigService::make()->getConfigByCode('xd_total', 100000000);
+        $xlTotal = $xlTotal>0? $xlTotal : 100000000;
+        $counts['xl_total'] = $xlTotal;
+        $counts['remain_total'] = moneyFormat($xlTotal - ($counts['day_total'] + $counts['award_total']),2);
         $counts['total'] = moneyFormat($counts['day_total'] + $counts['award_total'],2);
 
         return $counts;