ZxcZxc123 2 tahun lalu
induk
melakukan
52eb6e8632
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      app/system/controller/GroupController.php

+ 2 - 2
app/system/controller/GroupController.php

@@ -13,9 +13,9 @@ use think\model;
 class GroupController extends BaseController
 class GroupController extends BaseController
 {
 {
 
 
-    public function index(Request $request)
+    public function index()
     {
     {
-        $params = $request->get();
+        $params = input('get.');
 
 
         $title = isset($params['title']) ? $params['title'] : '';
         $title = isset($params['title']) ? $params['title'] : '';
         $page = isset($params['page']) ? intval($params['page']) : 1;
         $page = isset($params['page']) ? intval($params['page']) : 1;