Explorar el Código

add recharge stat3

laowu hace 1 mes
padre
commit
7454468da5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/OrderServices.php

+ 1 - 1
app/Services/OrderServices.php

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