自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 小结springsecurity配合数据库

1.用户及权限验证用户实体类实现UserDetails重写 @Override public Collection<? extends GrantedAuthority> getAuthorities() { return authorities; } @Override public String getPassword() { return password; } @Override publ

2021-04-09 11:43:07 215

原创 总结:springboot和ssm的拦截器

springboot的拦截器:编写配置类实现拦截器接口(HandlerInterceptor),重写preHandle方法:public class MyHandlerInterceptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws E

2021-03-26 20:57:35 150

转载 关于captcha验证码演示

转载:https://blog.csdn.net/dayonglove2018/article/details/106612549import com.wf.captcha.SpecCaptcha;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bi

2021-03-25 15:03:54 1439

原创 总结:springmvc关于Ajax传值问题

第一种情况:直接在data中放json对象,后端对应字符串名称接受。第二种情况:JSON.stringfy()将json对象转为json字符串,后端用@RequestBody将json字符串赋值给User,注意此时要添加contendType: “application/json”...

2021-03-24 13:51:52 144

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除