正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -47,8 +47,8 @@ class RankDataLogic extends BaseLogic | @@ -47,8 +47,8 @@ class RankDataLogic extends BaseLogic | ||
| 47 | $project = (new ProjectLogic())->getProjectInfo($project_id); | 47 | $project = (new ProjectLogic())->getProjectInfo($project_id); |
| 48 | $domain_info = (new DomainInfoLogic)->getDomainInfo($project_id); | 48 | $domain_info = (new DomainInfoLogic)->getDomainInfo($project_id); |
| 49 | $rank = RankData::where('project_id', $project_id)->first(); | 49 | $rank = RankData::where('project_id', $project_id)->first(); |
| 50 | - if(empty($rank)){ | ||
| 51 | - $data['langs_status'] = 0; | 50 | + if(empty($rank) && ($project['deploy_optimize']['api_no'] != 0)){ |
| 51 | + $data['langs_status'] = 1; | ||
| 52 | } | 52 | } |
| 53 | $rank_week = RankWeek::where('project_id', $project_id)->first(); | 53 | $rank_week = RankWeek::where('project_id', $project_id)->first(); |
| 54 | $recomm_domain = RecommDomain::where('project_id', $project_id)->first(); | 54 | $recomm_domain = RecommDomain::where('project_id', $project_id)->first(); |
-
请 注册 或 登录 后发表评论