|
@@ -4,6 +4,7 @@ import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
@@ -14,20 +15,21 @@ import com.dbs.consentServer.service.TestService;
|
|
|
|
|
|
@Api(tags = {"1. ConsentService "})
|
|
@Api(tags = {"1. ConsentService "})
|
|
@RestController
|
|
@RestController
|
|
|
|
+@RequestMapping("/ConsentSvc")
|
|
public class ConsentSvc {
|
|
public class ConsentSvc {
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
|
|
|
|
|
- @RequestMapping("/")
|
|
|
|
- public String index() {
|
|
|
|
- return "";
|
|
|
|
- }
|
|
|
|
|
|
+ // @RequestMapping("/")
|
|
|
|
+ // public String index() {
|
|
|
|
+ // return "";
|
|
|
|
+ // }
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
TestService testService;
|
|
TestService testService;
|
|
|
|
|
|
@ApiOperation(value = "테스트 URI", notes = "테스트 URI 입니다.")
|
|
@ApiOperation(value = "테스트 URI", notes = "테스트 URI 입니다.")
|
|
- @RequestMapping(value = "/test")
|
|
|
|
|
|
+ @RequestMapping(value = "/test", method = RequestMethod.GET)
|
|
public void test() throws Exception {
|
|
public void test() throws Exception {
|
|
logger.error("test");
|
|
logger.error("test");
|
|
TestVO testList = testService.selectTest();
|
|
TestVO testList = testService.selectTest();
|