陈德本 hace 6 años
padre
commit
21df776d2f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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){
             $request['page']=$page;
+        }else{
+            $request['r']='index/index';
         }
         $url=$url."?".http_build_query($request);
         $content= Dataoke::parse(file_get_contents($url));