|
|
@@ -368,6 +368,10 @@ class HttpServerOnlySet
|
|
|
}
|
|
|
|
|
|
$result = $this->PDatas['game_result'];
|
|
|
+ if (empty($result)){
|
|
|
+ $table = 'st_' . $game_code . '_result';
|
|
|
+ $result = DB::table($table)->where('match_id', $match_id)->first();
|
|
|
+ }
|
|
|
|
|
|
if ($result->status == 1 || $result->status == 0) {
|
|
|
var_dump($result);
|
|
|
@@ -742,7 +746,7 @@ class HttpServerOnlySet
|
|
|
$ret = DB::table($table)->where('match_id', $match_id)->first();
|
|
|
if ($ret) {
|
|
|
$this->PDatas['game_result'] = $ret;
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
throw new \Exception('result 结果为空 异常->' . $match_id, 117);
|
|
|
}
|
|
|
|