|
@@ -1,7 +1,8 @@
|
|
|
package com.usky.dxtop.controller.web;
|
|
|
|
|
|
+
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -9,12 +10,13 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
* @author yq
|
|
|
* @date 2021/8/23 13:51
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
@RestController
|
|
|
public class TestController {
|
|
|
|
|
|
@GetMapping("test")
|
|
|
public void test(@RequestParam String note){
|
|
|
- System.out.println(note);
|
|
|
+ log.info(note);
|
|
|
}
|
|
|
|
|
|
}
|