vali 6 年之前
父节点
当前提交
7b49958134
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      datainf/logic/HttpServerOnlySet.php

+ 1 - 5
datainf/logic/HttpServerOnlySet.php

@@ -454,7 +454,7 @@ class HttpServerOnlySet
         if ($simplexData->status == 1) {
             $in_array = [];
             foreach ($matchModels as $val) {
-                /*
+
                 if (!in_array($val->result, [-1, 1, 2, 3, 4])) {
                     throw  new  \Exception('match 比赛结果异常或还没有输赢结果->' . $val->id, 107);
                 }
@@ -463,7 +463,6 @@ class HttpServerOnlySet
                     $this->PushSqlToArray("update  money_buy_str set wait_match_num=0, prize_note=0, game_status=3, settle_status=2, gain_money=0,settlementtime='" . date('Y-m-d H:i:s') . "' where order_id='$order_id' ");
                     return true;
                 }
-                */
                 $in_array[] = ['odds' => $val->odds, 'winOrLose' => $val->result];
             }
 
@@ -497,7 +496,6 @@ class HttpServerOnlySet
      */
     private function insertData($order_id, $returnMoney, $account_identity, $type, $game_name, $buy_identity, $money, $match_id = 0, $account = '', $money_prizeID = 0)
     {
-
         // 添加流水记录
         $info_identity = UUID();
         $money_time = date('Y-m-d H:i:s', time());
@@ -508,8 +506,6 @@ class HttpServerOnlySet
         if (!isset($this->PDatas['account_mash'][$account_identity])) {
             $this->PDatas['account_mash'][$account_identity] = $this->PDatas['account_indentity_map_array'][$account_identity]->cash;
         }
-        print_r(['debug2', $this->PDatas['account_mash'][$account_identity], $this->PDatas['account_mash'][$account_identity]]);
-
 
         $this->PDatas['account_mash'][$account_identity] = $this->PDatas['account_mash'][$account_identity] + $returnMoney;
         $user_money_cash = $this->PDatas['account_mash'][$account_identity];