保誠-保戶業務員媒合平台
wayne
2021-12-24 6f394b0027019d4d014cf0b8ec13fa43e47c27c9
pamapi/src/main/java/com/pollex/pam/web/rest/ConsultantResource.java
@@ -29,6 +29,12 @@
        return new ResponseEntity<>(myConsultants, HttpStatus.OK);
    }
    @PostMapping("/favorite/view")
    public ResponseEntity<Void> recordMyConsultantListView() {
        consultantService.recordMyConsultantListView();
        return ResponseEntity.noContent().build();
    }
    @GetMapping("/recommend")
    public ResponseEntity<List<ConsultantDTO>> getRecommendConsultantList() {
        List<ConsultantDTO> recommendConsultantList = consultantService.getRecommendConsultantList();