@@ -1238,10 +1238,10 @@ class Common
//获取投注时间 时间戳
$bet_time = strtotime($bet_match->ctime);
//取出所有有危险球的数据
- $warn_more = $result_match[0]->warn_more;
+ $warn_more = trim($result_match[0]->warn_more);
//当值为默认值时,表示没有危险球,不用再作判断了
- if (trim($warn_more) == '[{"timei":"1970-1-1 0:0:1","rtype":0}]') {
+ if ($warn_more == '[{"timei":"1970-1-1 0:0:1","rtype":0}]' || empty($warn_more) || $warn_more == '[]') {
return $defdata;
}
@@ -104,13 +104,13 @@ function request_post($url = '', $param = '')
$data = [
//'token' => 'DmYo5x15595307615cf48d09ad67b', //2.220
- 'token' => 'A6vmp915647140435d43a43b0147e', //外网
+ 'token' => 'fAK4PD15664351485d5de74c81dd6', //外网
//'order_ids' => implode(",", $ids),
'order_ids' => '',
'bettype' => 1,
'settype' => 2,
'game_code' => 'zq',
- 'match_id' => 234,
+ 'match_id' => 495,
'change_status' => 1
];