作者 赵彬吉

update

... ... @@ -180,8 +180,10 @@ class RankDataLogic extends BaseLogic
//多个api_no项目 切换api_no查看数据
if($project_id == 2104){
$data['other_api_no'] = ($api_no == 10690) ? 11201 : 10690;
$data['other_api_no_source'] = ($data['other_api_no'] == 10690) ? 'Yandex' : 'Google';
$data['other_api_no'] = $api_no == 10690 ? 11201 : 10690;
$data['other_api_no_source'] = $data['other_api_no'] == 10690 ? 'Yandex' : 'Google';
$data['current_api_no'] = $api_no;
$data['current_api_source'] = $api_no == 10690 ? 'Yandex' : 'Google';
}
return $data;
... ...