Explorar o código

Merge branch 'master' of ssh://git.usgamewin.com:22022/laoma/admin_api

Tree hai 1 día
pai
achega
62fdf5fc55
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/Services/OrderServices.php

+ 2 - 2
app/Services/OrderServices.php

@@ -375,7 +375,7 @@ class  OrderServices
                 ];
                 $type = $typeMap[$GiftsID] ?? 'unknown';
                 app(PaidRewardStatisticsService::class)
-                    ->incrementRecordByDateIDAndType(date('Ymd'), $type, $give);
+                    ->incrementRecordByDateIDAndType(date('Ymd'), $type, $give * NumConfig::NUM_VALUE);
             }
 
         }
@@ -391,7 +391,7 @@ class  OrderServices
                         ->where('UserID', $user_id)
                         ->increment('InsureScore', $bonus);
                     app(PaidRewardStatisticsService::class)
-                        ->incrementRecordByDateIDAndType(date('Ymd'), 'free_bonus_gift', $give);
+                        ->incrementRecordByDateIDAndType(date('Ymd'), 'free_bonus_gift', $give * NumConfig::NUM_VALUE);
                 }
             }
         }