laowu 1 день тому
батько
коміт
0284437970
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/Services/OrderServices.php

+ 1 - 1
app/Services/OrderServices.php

@@ -386,7 +386,7 @@ class  OrderServices
                 306 => 'free_bonus_gift_chips',
                 306 => 'free_bonus_gift_chips',
                 402 => 'christmas_gift_chips',
                 402 => 'christmas_gift_chips',
             ];
             ];
-            $type = $typeMap[$GiftsID] ?? 'unknown_chips';
+            $type = $typeMap[intval($GiftsID)] ?? 'unknown_chips';
             app(PaidRewardStatisticsService::class)
             app(PaidRewardStatisticsService::class)
                 ->incrementRecordByDateIDAndType(date('Ymd'), $type, ($Recharge+$give) * NumConfig::NUM_VALUE);
                 ->incrementRecordByDateIDAndType(date('Ymd'), $type, ($Recharge+$give) * NumConfig::NUM_VALUE);
             app(PaidRewardStatisticsService::class)
             app(PaidRewardStatisticsService::class)