陈德本 6 tahun lalu
induk
melakukan
21df776d2f
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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));