|
@@ -63,9 +63,8 @@ class RankDataLogic extends BaseLogic |
|
@@ -63,9 +63,8 @@ class RankDataLogic extends BaseLogic |
|
63
|
$indexed_pages = IndexedPages::where('project_id', $project_id)->where('api_no', $api_no)->first();
|
63
|
$indexed_pages = IndexedPages::where('project_id', $project_id)->where('api_no', $api_no)->first();
|
|
64
|
$speed = Speed::where('project_id', $project_id)->first();
|
64
|
$speed = Speed::where('project_id', $project_id)->first();
|
|
65
|
//暂停优化的项目(排名数据显示横杠 - ,关键词排名第一页 、 关键词排名前十页 、 Google收录页面数 、 可查询外链数)
|
65
|
//暂停优化的项目(排名数据显示横杠 - ,关键词排名第一页 、 关键词排名前十页 、 Google收录页面数 、 可查询外链数)
|
|
66
|
- if(!empty($param['level'])){
|
|
|
|
67
|
- $values = explode(',', $param['level']);
|
|
|
|
68
|
- if (in_array('2', $values) || in_array('3', $values)) {
|
66
|
+ if(!empty($project['level'])){
|
|
|
|
67
|
+ if (in_array('2', $project['level']) || in_array('3', $project['level'])) {
|
|
69
|
$rank['first_page_num'] = $rank['first_ten_pages_num'] = $rank['indexed_pages_num'] = $rank['external_links_num'] = '-';
|
68
|
$rank['first_page_num'] = $rank['first_ten_pages_num'] = $rank['indexed_pages_num'] = $rank['external_links_num'] = '-';
|
|
70
|
}
|
69
|
}
|
|
71
|
}
|
70
|
}
|