crossorigin 우선 추가
This commit is contained in:
parent
ef1a120e2f
commit
963f0b05b8
@ -4,12 +4,14 @@ import com.interplug.qcast.biz.roofmaterial.dto.RoofMaterialResponse;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.web.bind.annotation.CrossOrigin;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
|
@CrossOrigin
|
||||||
@RequestMapping("/api/roof-material")
|
@RequestMapping("/api/roof-material")
|
||||||
public class RoofMaterialController {
|
public class RoofMaterialController {
|
||||||
private final RoofMaterialService roofService;
|
private final RoofMaterialService roofService;
|
||||||
|
|||||||
@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
@RestController
|
@RestController
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RequestMapping("/api/trestle")
|
@RequestMapping("/api/trestle")
|
||||||
|
@CrossOrigin
|
||||||
public class TrestleController {
|
public class TrestleController {
|
||||||
private final TrestleService trestleService;
|
private final TrestleService trestleService;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user