陈德本 6 лет назад
Родитель
Сommit
dbea18cbfb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      App/Api/Model/Dataoke.php

+ 1 - 1
App/Api/Model/Dataoke.php

@@ -64,7 +64,7 @@ class Dataoke
         $content=str_replace('"/tao.php?r=ddq"', '"/pages/dongdong.html"', $content);
         $content=str_replace('"/tao.php?r=l"', '"/pages/haohuo.html"', $content);
         $content=str_replace('"/tao.php?r=index/index&u=1350274"', '"/"', $content);
-        $content=str_replace('"/tao.php?r=index"', '"/"', $content);
+        $content=str_replace('href="/tao.php?r=index/index"', 'href="/"', $content);
         $content=str_replace('https://cmsstatic.ffquan.cn//js/new_home.js', "/static/new_home.js", $content);
 //        $content=str_replace('index.php', "tao.php", $content);
         return $content;