陈德本 vor 6 Jahren
Ursprung
Commit
e7c00984d9

+ 1 - 1
App/Api/Controller/Category.php

@@ -13,7 +13,7 @@ class Category extends Controller
     protected function main()
     {
         $id = $this->getQuery()->intval("id");
-        $url = sprintf(Site::getData('site_url') . "/index.php?r=l&cid=%d&site=classify", $id);
+        $url = sprintf(Site::getData('site_url') . "/tao.php?r=l&cid=%d&site=classify", $id);
         echo Dataoke::parse(file_get_contents($url));
     }
 

+ 1 - 1
App/Api/Controller/Detail.php

@@ -14,7 +14,7 @@ class Detail extends Controller
     {
         $id = $this->getQuery()->intval("id");
         $u = Site::getData("user_tag");
-        $url = sprintf(Site::getData('site_url') . "/index.php?r=l/d&id=%s&u=%s", $id, $u);
+        $url = sprintf(Site::getData('site_url') . "/tao.php?r=l/d&id=%s&u=%s", $id, $u);
         echo Dataoke::parse(file_get_contents($url));
     }
 

+ 1 - 1
App/Api/Controller/Index.php

@@ -13,7 +13,7 @@ class Index extends Controller
 
     protected function main()
     {
-        $url = Site::getData('site_url') . "/index.php?r=index/index";
+        $url = Site::getData('site_url') . "/tao.php?r=index/index";
         $content = file_get_contents($url);
         $content = Dataoke::parse($content);
         echo $content;

+ 1 - 1
App/Api/Controller/Pages.php

@@ -19,7 +19,7 @@ class Pages extends Controller
             'haohuo'=>'l',
         ];
         $page = $this->getQuery()->string("args_0");
-        $url = sprintf(Site::getData('site_url') . "/index.php?r=%s", $route[$page]);
+        $url = sprintf(Site::getData('site_url') . "/tao.php?r=%s", $route[$page]);
         echo Dataoke::parse(file_get_contents($url));
     }
 

+ 1 - 1
App/Api/Controller/Search.php

@@ -29,7 +29,7 @@ class Search extends Controller
             $request['cid']=$cid;
         }
 
-        $url = Site::getData('site_url') . "/index.php?".http_build_query($request);
+        $url = Site::getData('site_url') . "/tao.php?".http_build_query($request);
         echo Dataoke::parse(file_get_contents($url));
     }