陈德本 преди 6 години
родител
ревизия
21df776d2f
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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));