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(