mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 18:46:10 +08:00 
			
		
		
		
	清理代码
This commit is contained in:
		| @ -10,7 +10,6 @@ import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||||
| @XStreamAlias("xml") | @XStreamAlias("xml") | ||||||
| public class WxEntPayQueryResult extends WxPayBaseResult { | public class WxEntPayQueryResult extends WxPayBaseResult { | ||||||
|  |  | ||||||
|   //############以下字段在return_code 和result_code都为SUCCESS的时候有返回############## |  | ||||||
|   /** |   /** | ||||||
|    * 商户订单号 |    * 商户订单号 | ||||||
|    */ |    */ | ||||||
| @ -65,22 +64,6 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||||
|   @XStreamAlias("desc") |   @XStreamAlias("desc") | ||||||
|   private String desc; |   private String desc; | ||||||
|  |  | ||||||
|   public String getReturnCode() { |  | ||||||
|     return this.returnCode; |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   public void setReturnCode(String returnCode) { |  | ||||||
|     this.returnCode = returnCode; |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   public String getReturnMsg() { |  | ||||||
|     return this.returnMsg; |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   public void setReturnMsg(String returnMsg) { |  | ||||||
|     this.returnMsg = returnMsg; |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   public String getPartnerTradeNo() { |   public String getPartnerTradeNo() { | ||||||
|     return this.partnerTradeNo; |     return this.partnerTradeNo; | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -76,7 +76,7 @@ public class WxMpTemplate { | |||||||
|   private String example; |   private String example; | ||||||
|  |  | ||||||
|   public String getTemplateId() { |   public String getTemplateId() { | ||||||
|     return templateId; |     return this.templateId; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public void setTemplateId(String templateId) { |   public void setTemplateId(String templateId) { | ||||||
| @ -84,7 +84,7 @@ public class WxMpTemplate { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public String getTitle() { |   public String getTitle() { | ||||||
|     return title; |     return this.title; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public void setTitle(String title) { |   public void setTitle(String title) { | ||||||
| @ -92,7 +92,7 @@ public class WxMpTemplate { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public String getPrimaryIndustry() { |   public String getPrimaryIndustry() { | ||||||
|     return primaryIndustry; |     return this.primaryIndustry; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public void setPrimaryIndustry(String primaryIndustry) { |   public void setPrimaryIndustry(String primaryIndustry) { | ||||||
| @ -100,7 +100,7 @@ public class WxMpTemplate { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public String getDeputyIndustry() { |   public String getDeputyIndustry() { | ||||||
|     return deputyIndustry; |     return this.deputyIndustry; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public void setDeputyIndustry(String deputyIndustry) { |   public void setDeputyIndustry(String deputyIndustry) { | ||||||
| @ -108,7 +108,7 @@ public class WxMpTemplate { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public String getContent() { |   public String getContent() { | ||||||
|     return content; |     return this.content; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public void setContent(String content) { |   public void setContent(String content) { | ||||||
| @ -116,7 +116,7 @@ public class WxMpTemplate { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public String getExample() { |   public String getExample() { | ||||||
|     return example; |     return this.example; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public void setExample(String example) { |   public void setExample(String example) { | ||||||
|  | |||||||
| @ -2,7 +2,6 @@ package me.chanjar.weixin.mp.demo; | |||||||
|  |  | ||||||
| import java.io.IOException; | import java.io.IOException; | ||||||
|  |  | ||||||
| import javax.servlet.ServletException; |  | ||||||
| import javax.servlet.http.HttpServlet; | import javax.servlet.http.HttpServlet; | ||||||
| import javax.servlet.http.HttpServletRequest; | import javax.servlet.http.HttpServletRequest; | ||||||
| import javax.servlet.http.HttpServletResponse; | import javax.servlet.http.HttpServletResponse; | ||||||
| @ -33,7 +32,7 @@ public class WxMpEndpointServlet extends HttpServlet { | |||||||
|  |  | ||||||
|   @Override |   @Override | ||||||
|   protected void service(HttpServletRequest request, HttpServletResponse response) |   protected void service(HttpServletRequest request, HttpServletResponse response) | ||||||
|       throws ServletException, IOException { |       throws IOException { | ||||||
|  |  | ||||||
|     response.setContentType("text/html;charset=utf-8"); |     response.setContentType("text/html;charset=utf-8"); | ||||||
|     response.setStatus(HttpServletResponse.SC_OK); |     response.setStatus(HttpServletResponse.SC_OK); | ||||||
|  | |||||||
| @ -2,7 +2,6 @@ package me.chanjar.weixin.mp.demo; | |||||||
|  |  | ||||||
| import java.io.IOException; | import java.io.IOException; | ||||||
|  |  | ||||||
| import javax.servlet.ServletException; |  | ||||||
| import javax.servlet.http.HttpServlet; | import javax.servlet.http.HttpServlet; | ||||||
| import javax.servlet.http.HttpServletRequest; | import javax.servlet.http.HttpServletRequest; | ||||||
| import javax.servlet.http.HttpServletResponse; | import javax.servlet.http.HttpServletResponse; | ||||||
| @ -23,7 +22,7 @@ public class WxMpOAuth2Servlet extends HttpServlet { | |||||||
|  |  | ||||||
|   @Override |   @Override | ||||||
|   protected void service(HttpServletRequest request, HttpServletResponse response) |   protected void service(HttpServletRequest request, HttpServletResponse response) | ||||||
|       throws ServletException, IOException { |       throws IOException { | ||||||
|  |  | ||||||
|     response.setContentType("text/html;charset=utf-8"); |     response.setContentType("text/html;charset=utf-8"); | ||||||
|     response.setStatus(HttpServletResponse.SC_OK); |     response.setStatus(HttpServletResponse.SC_OK); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang