1.com.chanchifeng.springbootaopclasslog.config.AOPConfig
1 | import com.alibaba.fastjson.JSONObject; |
2.com.chanchifeng.springbootaopclasslog.controller.TestController
1 | import com.chanchifeng.springbootaopclasslog.form.UserForm; |
3.com.chanchifeng.springbootaopclasslog.form.UserForm
1 | import java.io.Serializable; |
4.com.chanchifeng.springbootaopclasslog.SpringbootaopclasslogApplication
1 | import org.springframework.boot.SpringApplication; |
5.application.properties
1 | spring.profiles.active=dev |
6.pom.xml
1 |
|
7.运行效果如下:
项目的Github地址:https://github.com/porschan/springBootStudio/tree/master/springboot-aop-class-log