郑晓宇 6 years ago
parent
commit
94fb8fbe19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/gamematch.php

+ 1 - 1
app/Console/Commands/gamematch.php

@@ -124,7 +124,7 @@ class gamematch extends Command
                     "user_id" => $user_id,
                     "name" => $user->name,
                     "avatar" => $user->avatar,
-                    "win_rate" => $win_rate,
+                    "win_rate" => round($win_rate, 2) * 100,
                 ];
                 //获取房间玩家信息
                 $group_users = Gateway::getUidListByGroup($room_id);