作者 lyh

gx rankdata数据

... ... @@ -61,7 +61,7 @@ class TemplateLog extends Command
* @time :2024/7/10 14:48
*/
public function deleteTemplate(){
$date = date('Y-m-d H:i:s', strtotime('-30 days'));;
$date = date('Y-m-d H:i:s', strtotime('-30 days'));
$templateLogModel = new BTemplateLog();
return $templateLogModel->del(['created_at'=>['<=',$date]]);
}
... ...
... ... @@ -131,7 +131,14 @@ class RankDataLogic extends BaseLogic
'Robots.txt文件优化',
'Google站长工具优化设置'
];
if($project['type'] == 1){
$data['seo'] = [
'H1,H2,H3标签',
'TDK设置(Title, Description, Keywords)',
'Sitemap.xml Google站长地图',
'Robots.txt文件优化',
];
}
//外链引荐域名
$recomm_domain = $recomm_domain ? $recomm_domain->toArray() : [];
$recomm_domain['data'] = Collection::make($recomm_domain['data'] ?? [])->sortBy('backlinks_num')->all();
... ...