Explorar el Código

Merge branch 'master' of https://git.97admin.com:433/chendeben/taoqu

chendeben hace 6 años
padre
commit
153fd45ab2
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      App/Api/Controller/Category.php

+ 3 - 0
App/Api/Controller/Category.php

@@ -28,6 +28,9 @@ class Category extends Controller
         if ($original_id) {
             $request['original_id'] = $original_id;
         }
+        if ($page){
+            $request['page']=$page;
+        }
         $url = Site::getData('site_url') . "/tao.php?" . http_build_query($request);
         echo Dataoke::parse(file_get_contents($url));
     }