Browse Source

专家管理员获取专家信息

tags/24080901
niohe·erbao 1 year ago
parent
commit
3ac55d2a8a
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertController.java

+ 8
- 0
pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertController.java View File

@@ -16,6 +16,7 @@ import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;


import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.NotNull;


/** /**
* <p> * <p>
@@ -46,6 +47,13 @@ public class ExpertController {
return expertManage.getExpertFullInfoDetail(null); 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") @PostMapping("/expert-library/list")
@ApiOperation("专家库列表查询接口") @ApiOperation("专家库列表查询接口")
public PageVo<ExpertAdminExpertManageListVO> getExpertLibraryList( public PageVo<ExpertAdminExpertManageListVO> getExpertLibraryList(


Loading…
Cancel
Save