15313670163 2 달 전
부모
커밋
952ebeb29f
1개의 변경된 파일0개의 추가작업 그리고 15개의 파일을 삭제
  1. 0 15
      app/JsonRpc/LinkService.php

+ 0 - 15
app/JsonRpc/LinkService.php

@@ -105,19 +105,4 @@ class LinkService implements LinkServiceInterface
         }
     }
 
-    /**
-     * 获取友情链接详情
-     * @param array $data
-     * @return array
-     */
-    public function getLinkInfo(array $data): array
-    {
-        $result = Link::where('id', $data['id'])->first();
-        if (empty($result)) {
-            return Result::error("获取友情链接详情失败", 0);
-        } else {
-            return Result::success($result);
-        }
-    }
-
 }