package com.talentcard.server.business.portal;
|
|
import java.util.Map;
|
|
import com.talentcard.server.common.ApiResponse;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RestController;
|
|
@RestController
|
@RequestMapping("/api/app/processing-applications")
|
public class ProcessingApplicationPortalController {
|
private final ProcessingApplicationPortalService service;
|
public ProcessingApplicationPortalController(ProcessingApplicationPortalService service) { this.service = service; }
|
@GetMapping("/{applicationNo}")
|
public ApiResponse<Map<String, Object>> detail(@PathVariable String applicationNo, @RequestParam Long talentId) {
|
return ApiResponse.success(service.detail(applicationNo, talentId));
|
}
|
}
|