Commit 48c4a90c by 仲光辉

添加验证(TestPointCutController) -->切入点表达式包扫描 2020/10/20 10:55

parent 51c3c18a
package cn.dankal.test.user.test;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* TODO
*
* @author ZGH.MercyModest
* @version V1.0.0
* @create 2020/10/20
*/
@RestController
@RequestMapping("/test/pointcut")
public class TestPointCutController {
@GetMapping("/time")
public String test() {
return DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:sss").format(LocalDateTime.now());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment