vali 6 年之前
父节点
当前提交
16c89f4e16
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Logic/UnSettmatchLogic.php

+ 1 - 1
app/Logic/UnSettmatchLogic.php

@@ -234,7 +234,7 @@ class UnSettmatchLogic
     public function changeStatus($game_code, $match_id)
     {
         $table = 'st_' . $game_code . '_result';
-        $ret = DB::name($table)->where('match_id', $match_id)->update(['status' => 4]);
+        $ret = DB::table($table)->where('match_id', $match_id)->update(['status' => 4]);
         return $ret;
     }