mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-04 14:16:25 +08:00 
			
		
		
		
	清理代码
This commit is contained in:
		@ -2,7 +2,6 @@ package me.chanjar.weixin.mp.demo;
 | 
			
		||||
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
import javax.servlet.ServletException;
 | 
			
		||||
import javax.servlet.http.HttpServlet;
 | 
			
		||||
import javax.servlet.http.HttpServletRequest;
 | 
			
		||||
import javax.servlet.http.HttpServletResponse;
 | 
			
		||||
@ -33,7 +32,7 @@ public class WxMpEndpointServlet extends HttpServlet {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  protected void service(HttpServletRequest request, HttpServletResponse response)
 | 
			
		||||
      throws ServletException, IOException {
 | 
			
		||||
      throws IOException {
 | 
			
		||||
 | 
			
		||||
    response.setContentType("text/html;charset=utf-8");
 | 
			
		||||
    response.setStatus(HttpServletResponse.SC_OK);
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,6 @@ package me.chanjar.weixin.mp.demo;
 | 
			
		||||
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
import javax.servlet.ServletException;
 | 
			
		||||
import javax.servlet.http.HttpServlet;
 | 
			
		||||
import javax.servlet.http.HttpServletRequest;
 | 
			
		||||
import javax.servlet.http.HttpServletResponse;
 | 
			
		||||
@ -23,7 +22,7 @@ public class WxMpOAuth2Servlet extends HttpServlet {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  protected void service(HttpServletRequest request, HttpServletResponse response)
 | 
			
		||||
      throws ServletException, IOException {
 | 
			
		||||
      throws IOException {
 | 
			
		||||
 | 
			
		||||
    response.setContentType("text/html;charset=utf-8");
 | 
			
		||||
    response.setStatus(HttpServletResponse.SC_OK);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user