1.进入这个链接

2.编写微信授权请求

/**

* 微信接入首页(授权页)

* @return

* @throws IOException 

*/

@RequestMapping("index")

public void wxIndex(HttpServletRequest request,HttpServletResponse response,String signature,String timestamp,String nonce,String echostr,Integer type) throws IOException{

PrintWriter out = response.getWriter();  

out.print(echostr);

return;

}

3.填写接口配置信息,此信息需要你有自己的服务器资源,填写的URL需要正确响应微信发送的Token验证

URL:

ToKen:wxtest

4.填写

 此处填写ip或域名对站点授权