|
@@ -1,18 +1,18 @@
|
|
|
package com.dgtly.api.controller;
|
|
package com.dgtly.api.controller;
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
-@RestController
|
|
|
|
|
-@RequestMapping("test")
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+@RequestMapping("/test")
|
|
|
|
|
+@Slf4j
|
|
|
public class TestController {
|
|
public class TestController {
|
|
|
|
|
|
|
|
|
|
|
|
|
- @GetMapping("1")
|
|
|
|
|
|
|
+ @GetMapping("/t")
|
|
|
public String test(){
|
|
public String test(){
|
|
|
-
|
|
|
|
|
|
|
+ log.info("测试代码11111111");
|
|
|
return "test";
|
|
return "test";
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|