|
|
@@ -517,7 +517,7 @@ class StZqResult extends Model
|
|
|
//获取当前赛事已有危险球数据 json
|
|
|
$warn_json = self::where(['match_id' => $match_id])->SELECT('warn_more')->first()->warn_more;
|
|
|
//转数组
|
|
|
- $warn_arr = json_decode($warn_json,true);
|
|
|
+ $warn_arr = json_decode($warn_json,true);
|
|
|
//删除初始 危险球 数据
|
|
|
foreach($warn_arr as $k=>$v){
|
|
|
if($v['rtype'] == 0) unset($warn_arr[$k]);
|