Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
test
1、Bean注解的使用 作用:是将一个第三方类注入到IOC容器当中,使其成为Bean 使用方式:在一个由声明了@Configuration的配置类当中统一管理多个bean,方法的返回值即为外部类的类型,方法的名称即为bean的名称 2、对象的属性拷贝 场景:一个DTO对象拥有一个实体类对象的部分属性,并且想通过该DTO对象给实体类对象赋值的时候 使用方式:使用BeanUtils.copyProperties(DTO对象,目标对象) 要求:属性的名称需要一样 3、拦截器方法中的参数handler 它是SpingMVC提供给拦截器当前请求想要执行的应用程序的对象 HandlerMethod:表示一个Controller方法 ResourceHttpRequestHandler:表示静态资源请求 if (!(handler instanceof HandlerMethod)) { //当前拦截到的不是动态方法,直接放行 return true; } 4、DateTimeFormat和JsonFormat DateTimeFormat...