shinnosuke
2026-09-25 66c0d9abbcb9f7b4407784ba4c886ce94a8b55dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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/finance-merchants")
public class FinanceMerchantPortalController {
 
    private final FinanceMerchantPortalService service;
 
    public FinanceMerchantPortalController(FinanceMerchantPortalService service) {
        this.service = service;
    }
 
    @GetMapping("/{merchantId}")
    public ApiResponse<Map<String, Object>> detail(@PathVariable Long merchantId, @RequestParam(required = false) Long talentId) {
        return ApiResponse.success(service.detail(merchantId, talentId));
    }
}