自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

原创 获取微信授权,获取微信用户信息

{ try { if (code == null) { String redirectUrl =URLEncoder.encode(redirect_url, "gb2312"); String getCodeUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=APP

2016-05-20 18:19:22 872

原创 Springmvc 拦截器

xmlns:tx="http://www.springframework.org/schema/tx" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:task="http://www.springframework.org/schema/task" mvc:interceptors> mvc:interceptor>

2016-05-30 13:09:49 256

原创 mybatis 注解

xml version="1.0" encoding="UTF-8"?> xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"

2016-05-30 13:08:53 310

原创 Apache shiro 登录验证授权管理

xml version="1.0" encoding="UTF-8"?> xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"

2016-05-27 16:40:50 2077

原创 获取当前ip

public static String getRealIp(HttpServletRequest req) { String ip = req.getHeader("X-Real-IP"); if (ip != null) { if (ip.indexOf(',') == -1) { return ip; } return ip.

2016-05-27 13:23:21 266

原创 idea编辑器注册方法

下载下面的jar,找到 bin/idea.exe.vmoptions 并添加

2016-05-19 17:43:38 336

java 邮件 发送收取工具类

java 邮件 发送收取工具类

2017-04-11

空空如也

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

TA关注的人

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