正在显示
2 个修改的文件
包含
9 行增加
和
2 行删除
| @@ -61,7 +61,7 @@ class TemplateLog extends Command | @@ -61,7 +61,7 @@ class TemplateLog extends Command | ||
| 61 | * @time :2024/7/10 14:48 | 61 | * @time :2024/7/10 14:48 |
| 62 | */ | 62 | */ |
| 63 | public function deleteTemplate(){ | 63 | public function deleteTemplate(){ |
| 64 | - $date = date('Y-m-d H:i:s', strtotime('-30 days'));; | 64 | + $date = date('Y-m-d H:i:s', strtotime('-30 days')); |
| 65 | $templateLogModel = new BTemplateLog(); | 65 | $templateLogModel = new BTemplateLog(); |
| 66 | return $templateLogModel->del(['created_at'=>['<=',$date]]); | 66 | return $templateLogModel->del(['created_at'=>['<=',$date]]); |
| 67 | } | 67 | } |
| @@ -131,7 +131,14 @@ class RankDataLogic extends BaseLogic | @@ -131,7 +131,14 @@ class RankDataLogic extends BaseLogic | ||
| 131 | 'Robots.txt文件优化', | 131 | 'Robots.txt文件优化', |
| 132 | 'Google站长工具优化设置' | 132 | 'Google站长工具优化设置' |
| 133 | ]; | 133 | ]; |
| 134 | - | 134 | + if($project['type'] == 1){ |
| 135 | + $data['seo'] = [ | ||
| 136 | + 'H1,H2,H3标签', | ||
| 137 | + 'TDK设置(Title, Description, Keywords)', | ||
| 138 | + 'Sitemap.xml Google站长地图', | ||
| 139 | + 'Robots.txt文件优化', | ||
| 140 | + ]; | ||
| 141 | + } | ||
| 135 | //外链引荐域名 | 142 | //外链引荐域名 |
| 136 | $recomm_domain = $recomm_domain ? $recomm_domain->toArray() : []; | 143 | $recomm_domain = $recomm_domain ? $recomm_domain->toArray() : []; |
| 137 | $recomm_domain['data'] = Collection::make($recomm_domain['data'] ?? [])->sortBy('backlinks_num')->all(); | 144 | $recomm_domain['data'] = Collection::make($recomm_domain['data'] ?? [])->sortBy('backlinks_num')->all(); |
-
请 注册 或 登录 后发表评论