|
|
@@ -890,7 +890,7 @@ class DataLogic
|
|
|
->get()->toArray();
|
|
|
if (empty($local_match)) throw new \Exception(Response::generate('', Response::MATCHID_NULL));
|
|
|
//更新状态字段
|
|
|
- if($game_code == 'zq'){
|
|
|
+ if ($game_code == 'zq') {
|
|
|
foreach ($local_match as $k => $v) {
|
|
|
$set_status = [
|
|
|
'status' => $v['status'],
|
|
|
@@ -905,7 +905,7 @@ class DataLogic
|
|
|
->update($set_status);
|
|
|
if ($ret < 1) throw new \Exception(Response::generate(gameModel::getGameName($game_code) . '赛事-match_id:' . $v['others_match_id'], Response::UPSTATUS_ERROR));
|
|
|
}
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
foreach ($local_match as $k => $v) {
|
|
|
$set_status = [
|
|
|
'status' => $v['status'],
|
|
|
@@ -1701,7 +1701,7 @@ class DataLogic
|
|
|
|
|
|
$game_code = isset($data['game_code']) ? $data['game_code'] : '';
|
|
|
$title = isset($data['title']) ? $data['title'] : '';
|
|
|
- $msg = is_string($ret) ? $ret : json_encode($ret);
|
|
|
+ $msg = is_string($ret) ? $ret : json_encode($ret, 256);
|
|
|
|
|
|
$now = explode(" ", microtime());
|
|
|
$wdata = date("Y-m-d", $now[1]);
|