推广平台->数据汇总|每日概况|订单查询|注册明细->检索调整

master
chenxiaojun 5 years ago
commit 155df3336d

@ -1655,12 +1655,12 @@ class QueryController extends BaseController
$result['status'] = 0;
$result['data'] = [];
if (empty($relationGameId) && empty($sdkVersion)) {
if (empty($relationGameId)) {
return $result;
}
empty($relationGameId) || $map['relation_game_id'] = $relationGameId;
empty($sdkVersion) || $map['sdk_version'] = $sdkVersion;
$map['relation_game_id'] = intval($relationGameId);
empty($sdkVersion) || $map['sdk_version'] = intval($sdkVersion);
$gameIds = M('Game', 'tab_')
->where($map)

Loading…
Cancel
Save