wesmiler hace 2 años
padre
commit
918dbec70d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/Api/MemberService.php

+ 1 - 1
app/Services/Api/MemberService.php

@@ -1807,7 +1807,7 @@ class MemberService extends BaseService
         // 是否中奖
         $isAward = false;
         $randNum = rand(1000,9999);
-        if($randNum > $drawRate * 10000){
+        if($randNum > $drawRate * 10000/100){
             $isAward = true;
         }