Changeset f067338 for src/main/java/it/finki/tinki/web
- Timestamp:
- 01/09/21 03:04:38 (4 years ago)
- Branches:
- master
- Children:
- a3d2b0d
- Parents:
- 297bd16
- Location:
- src/main/java/it/finki/tinki/web/controller
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/web/controller/LoginController.java
r297bd16 rf067338 149 149 } 150 150 151 @GetMapping(path = "/job/search") 152 public List<JobResponseDTO> jobRes(@RequestParam(name = "text") String text){ 153 return this.workService.fullTextJobSearch(text); 154 } 155 156 @GetMapping(path = "/internship/search") 157 public List<InternshipResponseDTO> internshipRes(@RequestParam(name = "text") String text){ 158 return this.workService.fullTextInternshipSearch(text); 159 } 160 161 @GetMapping(path = "/project/search") 162 public List<ProjectResponseDTO> projectRes(@RequestParam(name = "text") String text){ 163 return this.workService.fullTextProjectSearch(text); 164 } 165 151 166 } -
src/main/java/it/finki/tinki/web/controller/WorkRegisterController.java
r297bd16 rf067338 11 11 import it.finki.tinki.model.dto.response.work.ProjectResponseDTO; 12 12 import it.finki.tinki.service.WorkService; 13 import org.springframework.web.bind.annotation.PostMapping; 14 import org.springframework.web.bind.annotation.RequestBody; 15 import org.springframework.web.bind.annotation.RequestMapping; 16 import org.springframework.web.bind.annotation.RestController; 13 import org.springframework.web.bind.annotation.*; 14 15 import java.util.List; 17 16 18 17 @RestController
Note:
See TracChangeset
for help on using the changeset viewer.