mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-23 13:06:54 +08:00
清理代码
This commit is contained in:
parent
8a376f5dc9
commit
11452e6de0
@ -10,7 +10,6 @@ import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
@XStreamAlias("xml")
|
||||
public class WxEntPayQueryResult extends WxPayBaseResult {
|
||||
|
||||
//############以下字段在return_code 和result_code都为SUCCESS的时候有返回##############
|
||||
/**
|
||||
* 商户订单号
|
||||
*/
|
||||
@ -65,22 +64,6 @@ public class WxEntPayQueryResult extends WxPayBaseResult {
|
||||
@XStreamAlias("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() {
|
||||
return this.partnerTradeNo;
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ public class WxMpTemplate {
|
||||
private String example;
|
||||
|
||||
public String getTemplateId() {
|
||||
return templateId;
|
||||
return this.templateId;
|
||||
}
|
||||
|
||||
public void setTemplateId(String templateId) {
|
||||
@ -84,7 +84,7 @@ public class WxMpTemplate {
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
@ -92,7 +92,7 @@ public class WxMpTemplate {
|
||||
}
|
||||
|
||||
public String getPrimaryIndustry() {
|
||||
return primaryIndustry;
|
||||
return this.primaryIndustry;
|
||||
}
|
||||
|
||||
public void setPrimaryIndustry(String primaryIndustry) {
|
||||
@ -100,7 +100,7 @@ public class WxMpTemplate {
|
||||
}
|
||||
|
||||
public String getDeputyIndustry() {
|
||||
return deputyIndustry;
|
||||
return this.deputyIndustry;
|
||||
}
|
||||
|
||||
public void setDeputyIndustry(String deputyIndustry) {
|
||||
@ -108,7 +108,7 @@ public class WxMpTemplate {
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
@ -116,7 +116,7 @@ public class WxMpTemplate {
|
||||
}
|
||||
|
||||
public String getExample() {
|
||||
return example;
|
||||
return this.example;
|
||||
}
|
||||
|
||||
public void setExample(String example) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user