vali 6 years ago
parent
commit
906c2cb75b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Logic/WinfailLogic.php

+ 3 - 1
app/Logic/WinfailLogic.php

@@ -215,7 +215,9 @@ class WinfailLogic
         $AdapterObj = $this->getAdapterObj($game_code);
         $RefClass = new  \ReflectionClass($AdapterObj);
 
-        $result = json_decode($orderInfo->single_result, true);
+        $result = json_decode($orderInfo->single_result);
+        $result['0']->first_score = json_encode($result['0']->first_score, 256);
+        
         $winorfalsedef = ['result' => 2, 'matchResult' => 'noRuleOrError'];
 
         foreach ($matchArray as $matchModel) {