瀏覽代碼

Merge branch 'master' of https://git.97admin.com:433/chendeben/taoqu

chendeben 6 年之前
父節點
當前提交
cb91c3e5d0
共有 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;