From 3ac55d2a8a539733c5bebfe0efc935da903fda79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?niohe=C2=B7erbao?= Date: Thu, 9 Mar 2023 16:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=B8=93=E5=AE=B6=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ningdatech/pmapi/expert/controller/ExpertController.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertController.java b/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertController.java index 1bb6a08..cc55bd1 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertController.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertController.java @@ -16,6 +16,7 @@ import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.*; import javax.validation.Valid; +import javax.validation.constraints.NotNull; /** *

@@ -46,6 +47,13 @@ public class ExpertController { return expertManage.getExpertFullInfoDetail(null); } + + @GetMapping("/admin/detail") + @ApiOperation("专家管理员获取专家详细信息") + public ExpertFullInfoVO getExpertFullInfoDetail(@RequestParam(value = "expertUserId") @NotNull Long expertUserId) { + return expertManage.getExpertFullInfoDetail(expertUserId); + } + @PostMapping("/expert-library/list") @ApiOperation("专家库列表查询接口") public PageVo getExpertLibraryList(