ZxcZxc123 2 years ago
parent
commit
f299d10bfb
1 changed files with 1 additions and 4 deletions
  1. 1 4
      app/system/controller/GroupController.php

+ 1 - 4
app/system/controller/GroupController.php

@@ -45,10 +45,7 @@ class GroupController extends BaseController
             'pagesize' => $list->listRows(),
             'pagesize' => $list->listRows(),
         ];
         ];
 
 
-        return json([
-            'success' => true,
-            'data' => $data,
-        ]);
+        return app('json')->success($data);
     }
     }