변환매핑 404 대응
This commit is contained in:
+2
-2
@@ -1,16 +1,16 @@
|
|||||||
package com.eactive.eai.rms.common.advice;
|
package com.eactive.eai.rms.common.advice;
|
||||||
|
|
||||||
|
import com.eactive.eai.rms.common.interceptor.InterceptorSkipController;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* EmptyJsonResponseAdviceController 테스트용 컨트롤러.
|
* EmptyJsonResponseAdviceController 테스트용 컨트롤러.
|
||||||
* 테스트 후 삭제 필요.
|
|
||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("/test/empty-json")
|
@RequestMapping("/test/empty-json")
|
||||||
public class EmptyJsonResponseTestController {
|
public class EmptyJsonResponseTestController implements InterceptorSkipController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* null 반환 테스트
|
* null 반환 테스트
|
||||||
|
|||||||
+1
-1
@@ -162,7 +162,7 @@ public class Transform2Controller extends BaseController {
|
|||||||
return ResponseEntity.ok(new GridResponse<>(page));
|
return ResponseEntity.ok(new GridResponse<>(page));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping(value = "/onl/admin/rule/transform2/transform2Man.json", params = "cmd=INSERT", produces = MediaType.APPLICATION_JSON_VALUE)
|
@PostMapping(value = "/onl/admin/rule/transform2/transform2Man.json", params = "cmd=INSERT")
|
||||||
public String insert(TransformUI transformUI) {
|
public String insert(TransformUI transformUI) {
|
||||||
|
|
||||||
service.insert(transformUI);
|
service.insert(transformUI);
|
||||||
|
|||||||
Reference in New Issue
Block a user