正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -289,7 +289,7 @@ class AiVideoAutoPublish extends Command | @@ -289,7 +289,7 @@ class AiVideoAutoPublish extends Command | ||
| 289 | * @method :post | 289 | * @method :post |
| 290 | * @time :2025/8/1 16:25 | 290 | * @time :2025/8/1 16:25 |
| 291 | */ | 291 | */ |
| 292 | - public function getAiVideoParam($project_id = 4198) | 292 | + public function getAiVideoParam($project_id = 4914) |
| 293 | { | 293 | { |
| 294 | //获取当前网站域名 | 294 | //获取当前网站域名 |
| 295 | $domainModel = new DomainInfo(); | 295 | $domainModel = new DomainInfo(); |
| @@ -299,7 +299,7 @@ class AiVideoAutoPublish extends Command | @@ -299,7 +299,7 @@ class AiVideoAutoPublish extends Command | ||
| 299 | } | 299 | } |
| 300 | $domain = str_replace('blog.', 'www.', $domain); | 300 | $domain = str_replace('blog.', 'www.', $domain); |
| 301 | try { | 301 | try { |
| 302 | - $sitemap_url = 'https://' . $domain . '/sitemap.xml'; | 302 | + $sitemap_url = 'https://' . $domain . '/sitemap_post_tag.xml'; |
| 303 | $sitemap_string = file_get_contents($sitemap_url); | 303 | $sitemap_string = file_get_contents($sitemap_url); |
| 304 | $xml = new \SimpleXMLElement($sitemap_string); | 304 | $xml = new \SimpleXMLElement($sitemap_string); |
| 305 | $json = json_encode($xml); | 305 | $json = json_encode($xml); |
-
请 注册 或 登录 后发表评论