摘要: 阅读全文
posted @ 2019-04-13 18:17 crud程序员 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 1.使用spring 的 aop 技术切到自定义注解上,所以先创建一个自定义注解类 3.接下来就可以在需要监控的方法上添加 aop的自定义注解格式为 @+自定义注解的类名 @MyLog 阅读全文
posted @ 2019-04-13 18:14 crud程序员 阅读(1958) 评论(0) 推荐(0) 编辑
摘要: import com.alibaba.fastjson.JSONObject; import org.apache.catalina.servlet4preview.http.HttpServletRequest; import org.springframework.validation.FieldError; import org.springframework.web.bind.Metho... 阅读全文
posted @ 2019-04-13 17:54 crud程序员 阅读(143) 评论(0) 推荐(0) 编辑