|
|
@@ -518,6 +518,10 @@ class StZqResult extends Model
|
|
|
$warn_json = self::where(['match_id' => $match_id])->SELECT('warn_more')->first()->warn_more;
|
|
|
//转数组
|
|
|
$warn_arr = json_decode($warn_json,true);
|
|
|
+ //删除初始 危险球 数据
|
|
|
+ foreach($warn_arr as $k=>$v){
|
|
|
+ if($v['rtype'] == 0) unset($warn_arr[$k]);
|
|
|
+ }
|
|
|
|
|
|
if($match_id > 0 and !empty($warn_data)){
|
|
|
$data = [];
|