陈德本 6 năm trước cách đây
mục cha
commit
21df776d2f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      App/Api/Controller/Index.php

+ 2 - 0
App/Api/Controller/Index.php

@@ -20,6 +20,8 @@ class Index extends Controller
         ];
         ];
         if ($page){
         if ($page){
             $request['page']=$page;
             $request['page']=$page;
+        }else{
+            $request['r']='index/index';
         }
         }
         $url=$url."?".http_build_query($request);
         $url=$url."?".http_build_query($request);
         $content= Dataoke::parse(file_get_contents($url));
         $content= Dataoke::parse(file_get_contents($url));