Ken vor 3 Tagen
Ursprung
Commit
0eea4d20c8
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      app/Http/Controllers/admin/Rebate.php

+ 3 - 3
app/Http/Controllers/admin/Rebate.php

@@ -48,9 +48,9 @@ class Rebate extends Controller
             $rebate = RebateService::findOne($params);
             if (!$rebate) throw new Exception('数据不存在', HttpStatus::CUSTOM_ERROR);
             $date = Carbon::now('America/New_York')->format('Y-m-d');
-            if (strtotime($rebate->date) >= strtotime($date)) {
-                throw new Exception('未到发放时间', HttpStatus::CUSTOM_ERROR);
-            }
+//            if (strtotime($rebate->date) >= strtotime($date)) {
+//                throw new Exception('未到发放时间', HttpStatus::CUSTOM_ERROR);
+//            }
             RebateService::BibiReturn($rebate, $rebate->effective_betting_amount);
             DB::commit();
         } catch (ValidationException $e) {