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);
-        }
-    }
-
 }
 }