Ver código fonte

添加分页status

chenxiqiang 6 anos atrás
pai
commit
f83707592f

+ 1
- 1
manage-server/app/Http/Controllers/ServerInfoController.php Ver arquivo

51
     public function list(Request $request)
51
     public function list(Request $request)
52
     {
52
     {
53
         $top = ServerInfo::where("location", "top")->get();
53
         $top = ServerInfo::where("location", "top")->get();
54
-        $bottom = ServerInfo::where("location", "bottom")->firet();
54
+        $bottom = ServerInfo::where("location", "bottom")->first();
55
         return Response()->json([
55
         return Response()->json([
56
             "top" => $top,
56
             "top" => $top,
57
             "introduce" => "服务介绍",
57
             "introduce" => "服务介绍",

Carregando…
Cancelar
Salvar