소스 검색

添加分页status

chenxiqiang 6 년 전
부모
커밋
b8c956d6dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      manage-server/app/Http/Controllers/ServerInfoController.php

+ 1
- 1
manage-server/app/Http/Controllers/ServerInfoController.php 파일 보기

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

Loading…
취소
저장