Browse Source

add recharge stat3

laowu 1 day ago
parent
commit
7454468da5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/OrderServices.php

+ 1 - 1
app/Services/OrderServices.php

@@ -373,7 +373,7 @@ class  OrderServices
                     305 => 'vip_inactive_gift',
                     305 => 'vip_inactive_gift',
                     402 => 'christmas_gift',
                     402 => 'christmas_gift',
                 ];
                 ];
-                $type = $typeMap[$GiftsID] ?? 'unknown_gift';
+                $type = $typeMap[intval($GiftsID)] ?? 'unknown_gift';
                 app(PaidRewardStatisticsService::class)
                 app(PaidRewardStatisticsService::class)
                     ->incrementRecordByDateIDAndType(date('Ymd'), $type, $give * NumConfig::NUM_VALUE);
                     ->incrementRecordByDateIDAndType(date('Ymd'), $type, $give * NumConfig::NUM_VALUE);
             }
             }