| @@ -141,7 +141,7 @@ public class WxMpMessageRouter { | |||||
| final List<WxMpMessageRouterRule> matchRules = new ArrayList<WxMpMessageRouterRule>(); | final List<WxMpMessageRouterRule> matchRules = new ArrayList<WxMpMessageRouterRule>(); | ||||
| // 收集匹配的规则 | // 收集匹配的规则 | ||||
| for (final WxMpMessageRouterRule rule : rules) { | |||||
| for (final WxMpMessageRouterRule rule : this.rules) { | |||||
| if (rule.test(wxMessage)) { | if (rule.test(wxMessage)) { | ||||
| matchRules.add(rule); | matchRules.add(rule); | ||||
| if(!rule.isReEnter()) { | if(!rule.isReEnter()) { | ||||
| @@ -160,35 +160,35 @@ public class WxMpMessageRouter { | |||||
| // 返回最后一个非异步的rule的执行结果 | // 返回最后一个非异步的rule的执行结果 | ||||
| if(rule.isAsync()) { | if(rule.isAsync()) { | ||||
| futures.add( | futures.add( | ||||
| executorService.submit(new Runnable() { | |||||
| this.executorService.submit(new Runnable() { | |||||
| @Override | @Override | ||||
| public void run() { | public void run() { | ||||
| rule.service(wxMessage, wxMpService, sessionManager, exceptionHandler); | |||||
| rule.service(wxMessage, WxMpMessageRouter.this.wxMpService, WxMpMessageRouter.this.sessionManager, WxMpMessageRouter.this.exceptionHandler); | |||||
| } | } | ||||
| }) | }) | ||||
| ); | ); | ||||
| } else { | } else { | ||||
| res = rule.service(wxMessage, wxMpService, sessionManager, exceptionHandler); | |||||
| res = rule.service(wxMessage, this.wxMpService, this.sessionManager, this.exceptionHandler); | |||||
| // 在同步操作结束,session访问结束 | // 在同步操作结束,session访问结束 | ||||
| log.debug("End session access: async=false, sessionId={}", wxMessage.getFromUserName()); | |||||
| this.log.debug("End session access: async=false, sessionId={}", wxMessage.getFromUserName()); | |||||
| sessionEndAccess(wxMessage); | sessionEndAccess(wxMessage); | ||||
| } | } | ||||
| } | } | ||||
| if (futures.size() > 0) { | if (futures.size() > 0) { | ||||
| executorService.submit(new Runnable() { | |||||
| this.executorService.submit(new Runnable() { | |||||
| @Override | @Override | ||||
| public void run() { | public void run() { | ||||
| for (Future future : futures) { | for (Future future : futures) { | ||||
| try { | try { | ||||
| future.get(); | future.get(); | ||||
| log.debug("End session access: async=true, sessionId={}", wxMessage.getFromUserName()); | |||||
| WxMpMessageRouter.this.log.debug("End session access: async=true, sessionId={}", wxMessage.getFromUserName()); | |||||
| // 异步操作结束,session访问结束 | // 异步操作结束,session访问结束 | ||||
| sessionEndAccess(wxMessage); | sessionEndAccess(wxMessage); | ||||
| } catch (InterruptedException e) { | } catch (InterruptedException e) { | ||||
| log.error("Error happened when wait task finish", e); | |||||
| WxMpMessageRouter.this.log.error("Error happened when wait task finish", e); | |||||
| } catch (ExecutionException e) { | } catch (ExecutionException e) { | ||||
| log.error("Error happened when wait task finish", e); | |||||
| WxMpMessageRouter.this.log.error("Error happened when wait task finish", e); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -210,7 +210,7 @@ public class WxMpMessageRouter { | |||||
| messageId.append(wxMessage.getMsgId()); | messageId.append(wxMessage.getMsgId()); | ||||
| } | } | ||||
| return messageDuplicateChecker.isDuplicate(messageId.toString()); | |||||
| return this.messageDuplicateChecker.isDuplicate(messageId.toString()); | |||||
| } | } | ||||
| @@ -220,7 +220,7 @@ public class WxMpMessageRouter { | |||||
| */ | */ | ||||
| protected void sessionEndAccess(WxMpXmlMessage wxMessage) { | protected void sessionEndAccess(WxMpXmlMessage wxMessage) { | ||||
| InternalSession session = ((InternalSessionManager)sessionManager).findSession(wxMessage.getFromUserName()); | |||||
| InternalSession session = ((InternalSessionManager)this.sessionManager).findSession(wxMessage.getFromUserName()); | |||||
| if (session != null) { | if (session != null) { | ||||
| session.endAccess(); | session.endAccess(); | ||||
| } | } | ||||
| @@ -13,7 +13,7 @@ public class Industry implements Serializable { | |||||
| private String secondClass; | private String secondClass; | ||||
| public String getId() { | public String getId() { | ||||
| return id; | |||||
| return this.id; | |||||
| } | } | ||||
| public void setId(String id) { | public void setId(String id) { | ||||
| @@ -21,7 +21,7 @@ public class Industry implements Serializable { | |||||
| } | } | ||||
| public String getFirstClass() { | public String getFirstClass() { | ||||
| return firstClass; | |||||
| return this.firstClass; | |||||
| } | } | ||||
| public void setFirstClass(String firstClass) { | public void setFirstClass(String firstClass) { | ||||
| @@ -29,7 +29,7 @@ public class Industry implements Serializable { | |||||
| } | } | ||||
| public String getSecondClass() { | public String getSecondClass() { | ||||
| return secondClass; | |||||
| return this.secondClass; | |||||
| } | } | ||||
| public void setSecondClass(String secondClass) { | public void setSecondClass(String secondClass) { | ||||
| @@ -20,7 +20,7 @@ public class WxMpCard { | |||||
| private Boolean canConsume; | private Boolean canConsume; | ||||
| public String getCardId() { | public String getCardId() { | ||||
| return cardId; | |||||
| return this.cardId; | |||||
| } | } | ||||
| public void setCardId(String cardId) { | public void setCardId(String cardId) { | ||||
| @@ -28,7 +28,7 @@ public class WxMpCard { | |||||
| } | } | ||||
| public Long getBeginTime() { | public Long getBeginTime() { | ||||
| return beginTime; | |||||
| return this.beginTime; | |||||
| } | } | ||||
| public void setBeginTime(Long beginTime) { | public void setBeginTime(Long beginTime) { | ||||
| @@ -36,7 +36,7 @@ public class WxMpCard { | |||||
| } | } | ||||
| public Long getEndTime() { | public Long getEndTime() { | ||||
| return endTime; | |||||
| return this.endTime; | |||||
| } | } | ||||
| public void setEndTime(Long endTime) { | public void setEndTime(Long endTime) { | ||||
| @@ -44,7 +44,7 @@ public class WxMpCard { | |||||
| } | } | ||||
| public String getUserCardStatus() { | public String getUserCardStatus() { | ||||
| return userCardStatus; | |||||
| return this.userCardStatus; | |||||
| } | } | ||||
| public void setUserCardStatus(String userCardStatus) { | public void setUserCardStatus(String userCardStatus) { | ||||
| @@ -52,7 +52,7 @@ public class WxMpCard { | |||||
| } | } | ||||
| public Boolean getCanConsume() { | public Boolean getCanConsume() { | ||||
| return canConsume; | |||||
| return this.canConsume; | |||||
| } | } | ||||
| public void setCanConsume(Boolean canConsume) { | public void setCanConsume(Boolean canConsume) { | ||||
| @@ -62,11 +62,11 @@ public class WxMpCard { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpCard{" + | return "WxMpCard{" + | ||||
| "cardId='" + cardId + '\'' + | |||||
| ", beginTime=" + beginTime + | |||||
| ", endTime=" + endTime + | |||||
| ", userCardStatus='" + userCardStatus + '\'' + | |||||
| ", canConsume=" + canConsume + | |||||
| "cardId='" + this.cardId + '\'' + | |||||
| ", beginTime=" + this.beginTime + | |||||
| ", endTime=" + this.endTime + | |||||
| ", userCardStatus='" + this.userCardStatus + '\'' + | |||||
| ", canConsume=" + this.canConsume + | |||||
| '}'; | '}'; | ||||
| } | } | ||||
| } | } | ||||
| @@ -182,7 +182,7 @@ public class WxMpCustomMessage implements Serializable { | |||||
| } | } | ||||
| public String getKfAccount() { | public String getKfAccount() { | ||||
| return kfAccount; | |||||
| return this.kfAccount; | |||||
| } | } | ||||
| public void setKfAccount(String kfAccount) { | public void setKfAccount(String kfAccount) { | ||||
| @@ -15,19 +15,19 @@ public class WxMpGroup implements Serializable { | |||||
| private String name; | private String name; | ||||
| private long count; | private long count; | ||||
| public long getId() { | public long getId() { | ||||
| return id; | |||||
| return this.id; | |||||
| } | } | ||||
| public void setId(long id) { | public void setId(long id) { | ||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getName() { | public String getName() { | ||||
| return name; | |||||
| return this.name; | |||||
| } | } | ||||
| public void setName(String name) { | public void setName(String name) { | ||||
| this.name = name; | this.name = name; | ||||
| } | } | ||||
| public long getCount() { | public long getCount() { | ||||
| return count; | |||||
| return this.count; | |||||
| } | } | ||||
| public void setCount(long count) { | public void setCount(long count) { | ||||
| this.count = count; | this.count = count; | ||||
| @@ -42,7 +42,7 @@ public class WxMpGroup implements Serializable { | |||||
| } | } | ||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpGroup [id=" + id + ", name=" + name + ", count=" + count + "]"; | |||||
| return "WxMpGroup [id=" + this.id + ", name=" + this.name + ", count=" + this.count + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -22,7 +22,7 @@ public class WxMpIndustry implements Serializable { | |||||
| } | } | ||||
| public Industry getPrimaryIndustry() { | public Industry getPrimaryIndustry() { | ||||
| return primaryIndustry; | |||||
| return this.primaryIndustry; | |||||
| } | } | ||||
| public void setPrimaryIndustry(Industry primaryIndustry) { | public void setPrimaryIndustry(Industry primaryIndustry) { | ||||
| @@ -30,7 +30,7 @@ public class WxMpIndustry implements Serializable { | |||||
| } | } | ||||
| public Industry getSecondIndustry() { | public Industry getSecondIndustry() { | ||||
| return secondIndustry; | |||||
| return this.secondIndustry; | |||||
| } | } | ||||
| public void setSecondIndustry(Industry secondIndustry) { | public void setSecondIndustry(Industry secondIndustry) { | ||||
| @@ -21,7 +21,7 @@ public class WxMpMassGroupMessage implements Serializable { | |||||
| } | } | ||||
| public String getMsgtype() { | public String getMsgtype() { | ||||
| return msgtype; | |||||
| return this.msgtype; | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -41,7 +41,7 @@ public class WxMpMassGroupMessage implements Serializable { | |||||
| } | } | ||||
| public String getContent() { | public String getContent() { | ||||
| return content; | |||||
| return this.content; | |||||
| } | } | ||||
| public void setContent(String content) { | public void setContent(String content) { | ||||
| @@ -49,7 +49,7 @@ public class WxMpMassGroupMessage implements Serializable { | |||||
| } | } | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -61,7 +61,7 @@ public class WxMpMassGroupMessage implements Serializable { | |||||
| } | } | ||||
| public Long getGroupId() { | public Long getGroupId() { | ||||
| return groupId; | |||||
| return this.groupId; | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -16,7 +16,7 @@ public class WxMpMassNews implements Serializable { | |||||
| private List<WxMpMassNewsArticle> articles = new ArrayList<WxMpMassNewsArticle>(); | private List<WxMpMassNewsArticle> articles = new ArrayList<WxMpMassNewsArticle>(); | ||||
| public List<WxMpMassNewsArticle> getArticles() { | public List<WxMpMassNewsArticle> getArticles() { | ||||
| return articles; | |||||
| return this.articles; | |||||
| } | } | ||||
| public void addArticle(WxMpMassNewsArticle article) { | public void addArticle(WxMpMassNewsArticle article) { | ||||
| @@ -28,7 +28,7 @@ public class WxMpMassNews implements Serializable { | |||||
| } | } | ||||
| public boolean isEmpty() { | public boolean isEmpty() { | ||||
| return articles == null || articles.isEmpty(); | |||||
| return this.articles == null || this.articles.isEmpty(); | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -76,7 +76,7 @@ public class WxMpMassNews implements Serializable { | |||||
| private boolean showCoverPic; | private boolean showCoverPic; | ||||
| public String getThumbMediaId() { | public String getThumbMediaId() { | ||||
| return thumbMediaId; | |||||
| return this.thumbMediaId; | |||||
| } | } | ||||
| public void setThumbMediaId(String thumbMediaId) { | public void setThumbMediaId(String thumbMediaId) { | ||||
| @@ -84,7 +84,7 @@ public class WxMpMassNews implements Serializable { | |||||
| } | } | ||||
| public String getAuthor() { | public String getAuthor() { | ||||
| return author; | |||||
| return this.author; | |||||
| } | } | ||||
| public void setAuthor(String author) { | public void setAuthor(String author) { | ||||
| @@ -92,7 +92,7 @@ public class WxMpMassNews implements Serializable { | |||||
| } | } | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return title; | |||||
| return this.title; | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| @@ -100,7 +100,7 @@ public class WxMpMassNews implements Serializable { | |||||
| } | } | ||||
| public String getContentSourceUrl() { | public String getContentSourceUrl() { | ||||
| return contentSourceUrl; | |||||
| return this.contentSourceUrl; | |||||
| } | } | ||||
| public void setContentSourceUrl(String contentSourceUrl) { | public void setContentSourceUrl(String contentSourceUrl) { | ||||
| @@ -108,7 +108,7 @@ public class WxMpMassNews implements Serializable { | |||||
| } | } | ||||
| 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 WxMpMassNews implements Serializable { | |||||
| } | } | ||||
| public String getDigest() { | public String getDigest() { | ||||
| return digest; | |||||
| return this.digest; | |||||
| } | } | ||||
| public void setDigest(String digest) { | public void setDigest(String digest) { | ||||
| @@ -124,7 +124,7 @@ public class WxMpMassNews implements Serializable { | |||||
| } | } | ||||
| public boolean isShowCoverPic() { | public boolean isShowCoverPic() { | ||||
| return showCoverPic; | |||||
| return this.showCoverPic; | |||||
| } | } | ||||
| public void setShowCoverPic(boolean showCoverPic) { | public void setShowCoverPic(boolean showCoverPic) { | ||||
| @@ -133,14 +133,14 @@ public class WxMpMassNews implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMassNewsArticle [" + "thumbMediaId=" + thumbMediaId + ", author=" + author + ", title=" + title + | |||||
| ", contentSourceUrl=" + contentSourceUrl + ", content=" + content + ", digest=" + digest + | |||||
| ", showCoverPic=" + showCoverPic + "]"; | |||||
| return "WxMpMassNewsArticle [" + "thumbMediaId=" + this.thumbMediaId + ", author=" + this.author + ", title=" + this.title + | |||||
| ", contentSourceUrl=" + this.contentSourceUrl + ", content=" + this.content + ", digest=" + this.digest + | |||||
| ", showCoverPic=" + this.showCoverPic + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMassNews [" + "articles=" + articles + "]"; | |||||
| return "WxMpMassNews [" + "articles=" + this.articles + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -18,7 +18,7 @@ public class WxMpMassPreviewMessage implements Serializable { | |||||
| } | } | ||||
| public String getToWxUsername() { | public String getToWxUsername() { | ||||
| return toWxUsername; | |||||
| return this.toWxUsername; | |||||
| } | } | ||||
| public void setToWxUsername(String toWxUsername) { | public void setToWxUsername(String toWxUsername) { | ||||
| @@ -26,7 +26,7 @@ public class WxMpMassPreviewMessage implements Serializable { | |||||
| } | } | ||||
| public String getMsgType() { | public String getMsgType() { | ||||
| return msgType; | |||||
| return this.msgType; | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -47,7 +47,7 @@ public class WxMpMassPreviewMessage implements Serializable { | |||||
| } | } | ||||
| public String getContent() { | public String getContent() { | ||||
| return content; | |||||
| return this.content; | |||||
| } | } | ||||
| public void setContent(String content) { | public void setContent(String content) { | ||||
| @@ -55,7 +55,7 @@ public class WxMpMassPreviewMessage implements Serializable { | |||||
| } | } | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -16,7 +16,7 @@ public class WxMpMassVideo implements Serializable { | |||||
| private String description; | private String description; | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return title; | |||||
| return this.title; | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| @@ -24,7 +24,7 @@ public class WxMpMassVideo implements Serializable { | |||||
| } | } | ||||
| public String getDescription() { | public String getDescription() { | ||||
| return description; | |||||
| return this.description; | |||||
| } | } | ||||
| public void setDescription(String description) { | public void setDescription(String description) { | ||||
| @@ -32,7 +32,7 @@ public class WxMpMassVideo implements Serializable { | |||||
| } | } | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -23,13 +23,13 @@ public class WxMpMaterial { | |||||
| public Map<String, String> getForm() { | public Map<String, String> getForm() { | ||||
| Map<String, String> form = new HashMap<String, String>(); | Map<String, String> form = new HashMap<String, String>(); | ||||
| form.put("title", videoTitle); | |||||
| form.put("introduction", videoIntroduction); | |||||
| form.put("title", this.videoTitle); | |||||
| form.put("introduction", this.videoIntroduction); | |||||
| return form; | return form; | ||||
| } | } | ||||
| public String getVideoTitle() { | public String getVideoTitle() { | ||||
| return videoTitle; | |||||
| return this.videoTitle; | |||||
| } | } | ||||
| public void setVideoTitle(String videoTitle) { | public void setVideoTitle(String videoTitle) { | ||||
| @@ -37,7 +37,7 @@ public class WxMpMaterial { | |||||
| } | } | ||||
| public String getVideoIntroduction() { | public String getVideoIntroduction() { | ||||
| return videoIntroduction; | |||||
| return this.videoIntroduction; | |||||
| } | } | ||||
| public void setVideoIntroduction(String videoIntroduction) { | public void setVideoIntroduction(String videoIntroduction) { | ||||
| @@ -45,7 +45,7 @@ public class WxMpMaterial { | |||||
| } | } | ||||
| public String getName() { | public String getName() { | ||||
| return name; | |||||
| return this.name; | |||||
| } | } | ||||
| public void setName(String name) { | public void setName(String name) { | ||||
| @@ -53,7 +53,7 @@ public class WxMpMaterial { | |||||
| } | } | ||||
| public File getFile() { | public File getFile() { | ||||
| return file; | |||||
| return this.file; | |||||
| } | } | ||||
| public void setFile(File file) { | public void setFile(File file) { | ||||
| @@ -62,6 +62,6 @@ public class WxMpMaterial { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMaterial [" + "name=" + name + ", file=" + file + ", videoTitle=" + videoTitle + ", videoIntroduction=" + videoIntroduction + "]"; | |||||
| return "WxMpMaterial [" + "name=" + this.name + ", file=" + this.file + ", videoTitle=" + this.videoTitle + ", videoIntroduction=" + this.videoIntroduction + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -11,7 +11,7 @@ public class WxMpMaterialArticleUpdate implements Serializable { | |||||
| private WxMpMaterialNews.WxMpMaterialNewsArticle articles; | private WxMpMaterialNews.WxMpMaterialNewsArticle articles; | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -19,7 +19,7 @@ public class WxMpMaterialArticleUpdate implements Serializable { | |||||
| } | } | ||||
| public int getIndex() { | public int getIndex() { | ||||
| return index; | |||||
| return this.index; | |||||
| } | } | ||||
| public void setIndex(int index) { | public void setIndex(int index) { | ||||
| @@ -27,7 +27,7 @@ public class WxMpMaterialArticleUpdate implements Serializable { | |||||
| } | } | ||||
| public WxMpMaterialNews.WxMpMaterialNewsArticle getArticles() { | public WxMpMaterialNews.WxMpMaterialNewsArticle getArticles() { | ||||
| return articles; | |||||
| return this.articles; | |||||
| } | } | ||||
| public void setArticles(WxMpMaterialNews.WxMpMaterialNewsArticle articles) { | public void setArticles(WxMpMaterialNews.WxMpMaterialNewsArticle articles) { | ||||
| @@ -40,6 +40,6 @@ public class WxMpMaterialArticleUpdate implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMaterialArticleUpdate [" + "mediaId=" + mediaId + ", index=" + index + ", articles=" + articles + "]"; | |||||
| return "WxMpMaterialArticleUpdate [" + "mediaId=" + this.mediaId + ", index=" + this.index + ", articles=" + this.articles + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -11,7 +11,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| private List<WxMpMaterialNewsArticle> articles = new ArrayList<WxMpMaterialNewsArticle>(); | private List<WxMpMaterialNewsArticle> articles = new ArrayList<WxMpMaterialNewsArticle>(); | ||||
| public List<WxMpMaterialNewsArticle> getArticles() { | public List<WxMpMaterialNewsArticle> getArticles() { | ||||
| return articles; | |||||
| return this.articles; | |||||
| } | } | ||||
| public void addArticle(WxMpMaterialNewsArticle article) { | public void addArticle(WxMpMaterialNewsArticle article) { | ||||
| @@ -23,7 +23,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public boolean isEmpty() { | public boolean isEmpty() { | ||||
| return articles == null || articles.isEmpty(); | |||||
| return this.articles == null || this.articles.isEmpty(); | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -82,7 +82,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| private String url; | private String url; | ||||
| public String getThumbMediaId() { | public String getThumbMediaId() { | ||||
| return thumbMediaId; | |||||
| return this.thumbMediaId; | |||||
| } | } | ||||
| public void setThumbMediaId(String thumbMediaId) { | public void setThumbMediaId(String thumbMediaId) { | ||||
| @@ -90,7 +90,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public String getAuthor() { | public String getAuthor() { | ||||
| return author; | |||||
| return this.author; | |||||
| } | } | ||||
| public void setAuthor(String author) { | public void setAuthor(String author) { | ||||
| @@ -98,7 +98,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return title; | |||||
| return this.title; | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| @@ -106,7 +106,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public String getContentSourceUrl() { | public String getContentSourceUrl() { | ||||
| return contentSourceUrl; | |||||
| return this.contentSourceUrl; | |||||
| } | } | ||||
| public void setContentSourceUrl(String contentSourceUrl) { | public void setContentSourceUrl(String contentSourceUrl) { | ||||
| @@ -114,7 +114,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public String getContent() { | public String getContent() { | ||||
| return content; | |||||
| return this.content; | |||||
| } | } | ||||
| public void setContent(String content) { | public void setContent(String content) { | ||||
| @@ -122,7 +122,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public String getDigest() { | public String getDigest() { | ||||
| return digest; | |||||
| return this.digest; | |||||
| } | } | ||||
| public void setDigest(String digest) { | public void setDigest(String digest) { | ||||
| @@ -130,7 +130,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public boolean isShowCoverPic() { | public boolean isShowCoverPic() { | ||||
| return showCoverPic; | |||||
| return this.showCoverPic; | |||||
| } | } | ||||
| public void setShowCoverPic(boolean showCoverPic) { | public void setShowCoverPic(boolean showCoverPic) { | ||||
| @@ -138,7 +138,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public String getUrl() { | public String getUrl() { | ||||
| return url; | |||||
| return this.url; | |||||
| } | } | ||||
| public void setUrl(String url) { | public void setUrl(String url) { | ||||
| @@ -146,7 +146,7 @@ public class WxMpMaterialNews implements Serializable { | |||||
| } | } | ||||
| public String getThumbUrl() { | public String getThumbUrl() { | ||||
| return thumbUrl; | |||||
| return this.thumbUrl; | |||||
| } | } | ||||
| public void setThumbUrl(String thumbUrl) { | public void setThumbUrl(String thumbUrl) { | ||||
| @@ -155,14 +155,14 @@ public class WxMpMaterialNews implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMassNewsArticle [" + "thumbMediaId=" + thumbMediaId + "thumbUrl=" + thumbUrl + ", author=" + author + ", title=" + title + | |||||
| ", contentSourceUrl=" + contentSourceUrl + ", content=" + content + ", digest=" + digest + | |||||
| ", showCoverPic=" + showCoverPic +", url=" + url + "]"; | |||||
| return "WxMpMassNewsArticle [" + "thumbMediaId=" + this.thumbMediaId + "thumbUrl=" + this.thumbUrl + ", author=" + this.author + ", title=" + this.title + | |||||
| ", contentSourceUrl=" + this.contentSourceUrl + ", content=" + this.content + ", digest=" + this.digest + | |||||
| ", showCoverPic=" + this.showCoverPic +", url=" + this.url + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMaterialNews [" + "articles=" + articles + "]"; | |||||
| return "WxMpMaterialNews [" + "articles=" + this.articles + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -23,7 +23,7 @@ public class WxMpSemanticQuery implements Serializable { | |||||
| private String uid; | private String uid; | ||||
| public String getQuery() { | public String getQuery() { | ||||
| return query; | |||||
| return this.query; | |||||
| } | } | ||||
| public void setQuery(String query) { | public void setQuery(String query) { | ||||
| @@ -31,7 +31,7 @@ public class WxMpSemanticQuery implements Serializable { | |||||
| } | } | ||||
| public String getCategory() { | public String getCategory() { | ||||
| return category; | |||||
| return this.category; | |||||
| } | } | ||||
| public void setCategory(String category) { | public void setCategory(String category) { | ||||
| @@ -39,7 +39,7 @@ public class WxMpSemanticQuery implements Serializable { | |||||
| } | } | ||||
| public Float getLatitude() { | public Float getLatitude() { | ||||
| return latitude; | |||||
| return this.latitude; | |||||
| } | } | ||||
| public void setLatitude(Float latitude) { | public void setLatitude(Float latitude) { | ||||
| @@ -47,7 +47,7 @@ public class WxMpSemanticQuery implements Serializable { | |||||
| } | } | ||||
| public Float getLongitude() { | public Float getLongitude() { | ||||
| return longitude; | |||||
| return this.longitude; | |||||
| } | } | ||||
| public void setLongitude(Float longitude) { | public void setLongitude(Float longitude) { | ||||
| @@ -55,7 +55,7 @@ public class WxMpSemanticQuery implements Serializable { | |||||
| } | } | ||||
| public String getCity() { | public String getCity() { | ||||
| return city; | |||||
| return this.city; | |||||
| } | } | ||||
| public void setCity(String city) { | public void setCity(String city) { | ||||
| @@ -63,7 +63,7 @@ public class WxMpSemanticQuery implements Serializable { | |||||
| } | } | ||||
| public String getRegion() { | public String getRegion() { | ||||
| return region; | |||||
| return this.region; | |||||
| } | } | ||||
| public void setRegion(String region) { | public void setRegion(String region) { | ||||
| @@ -71,7 +71,7 @@ public class WxMpSemanticQuery implements Serializable { | |||||
| } | } | ||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | |||||
| return this.appid; | |||||
| } | } | ||||
| public void setAppid(String appid) { | public void setAppid(String appid) { | ||||
| @@ -79,7 +79,7 @@ public class WxMpSemanticQuery implements Serializable { | |||||
| } | } | ||||
| public String getUid() { | public String getUid() { | ||||
| return uid; | |||||
| return this.uid; | |||||
| } | } | ||||
| public void setUid(String uid) { | public void setUid(String uid) { | ||||
| @@ -26,7 +26,7 @@ public class WxMpTemplateData implements Serializable { | |||||
| } | } | ||||
| public String getName() { | public String getName() { | ||||
| return name; | |||||
| return this.name; | |||||
| } | } | ||||
| public void setName(String name) { | public void setName(String name) { | ||||
| @@ -34,7 +34,7 @@ public class WxMpTemplateData implements Serializable { | |||||
| } | } | ||||
| public String getValue() { | public String getValue() { | ||||
| return value; | |||||
| return this.value; | |||||
| } | } | ||||
| public void setValue(String value) { | public void setValue(String value) { | ||||
| @@ -42,7 +42,7 @@ public class WxMpTemplateData implements Serializable { | |||||
| } | } | ||||
| public String getColor() { | public String getColor() { | ||||
| return color; | |||||
| return this.color; | |||||
| } | } | ||||
| public void setColor(String color) { | public void setColor(String color) { | ||||
| this.color = color; | this.color = color; | ||||
| @@ -15,7 +15,7 @@ public class WxMpTemplateMessage implements Serializable { | |||||
| private List<WxMpTemplateData> data = new ArrayList<WxMpTemplateData>(); | private List<WxMpTemplateData> data = new ArrayList<WxMpTemplateData>(); | ||||
| public String getToUser() { | public String getToUser() { | ||||
| return toUser; | |||||
| return this.toUser; | |||||
| } | } | ||||
| public void setToUser(String toUser) { | public void setToUser(String toUser) { | ||||
| @@ -23,7 +23,7 @@ public class WxMpTemplateMessage implements Serializable { | |||||
| } | } | ||||
| public String getTemplateId() { | public String getTemplateId() { | ||||
| return templateId; | |||||
| return this.templateId; | |||||
| } | } | ||||
| public void setTemplateId(String templateId) { | public void setTemplateId(String templateId) { | ||||
| @@ -31,7 +31,7 @@ public class WxMpTemplateMessage implements Serializable { | |||||
| } | } | ||||
| public String getUrl() { | public String getUrl() { | ||||
| return url; | |||||
| return this.url; | |||||
| } | } | ||||
| public void setUrl(String url) { | public void setUrl(String url) { | ||||
| @@ -39,7 +39,7 @@ public class WxMpTemplateMessage implements Serializable { | |||||
| } | } | ||||
| public String getTopColor() { | public String getTopColor() { | ||||
| return topColor; | |||||
| return this.topColor; | |||||
| } | } | ||||
| public void setTopColor(String topColor) { | public void setTopColor(String topColor) { | ||||
| @@ -47,7 +47,7 @@ public class WxMpTemplateMessage implements Serializable { | |||||
| } | } | ||||
| public List<WxMpTemplateData> getData() { | public List<WxMpTemplateData> getData() { | ||||
| return data; | |||||
| return this.data; | |||||
| } | } | ||||
| public void setData(List<WxMpTemplateData> data) { | public void setData(List<WxMpTemplateData> data) { | ||||
| @@ -53,7 +53,7 @@ public class WxMpUserQuery { | |||||
| * @return {@link WxMpUserQuery} | * @return {@link WxMpUserQuery} | ||||
| */ | */ | ||||
| public WxMpUserQuery add(String openId, String lang) { | public WxMpUserQuery add(String openId, String lang) { | ||||
| queryParamList.add(new WxMpUserQueryParam(openId, lang)); | |||||
| this.queryParamList.add(new WxMpUserQueryParam(openId, lang)); | |||||
| return this; | return this; | ||||
| } | } | ||||
| @@ -68,7 +68,7 @@ public class WxMpUserQuery { | |||||
| * @return {@link WxMpUserQuery} | * @return {@link WxMpUserQuery} | ||||
| */ | */ | ||||
| public WxMpUserQuery add(String openId) { | public WxMpUserQuery add(String openId) { | ||||
| queryParamList.add(new WxMpUserQueryParam(openId)); | |||||
| this.queryParamList.add(new WxMpUserQueryParam(openId)); | |||||
| return this; | return this; | ||||
| } | } | ||||
| @@ -79,7 +79,7 @@ public class WxMpUserQuery { | |||||
| * @return {@link WxMpUserQuery} | * @return {@link WxMpUserQuery} | ||||
| */ | */ | ||||
| public WxMpUserQuery remove(String openId) { | public WxMpUserQuery remove(String openId) { | ||||
| queryParamList.remove(new WxMpUserQueryParam(openId)); | |||||
| this.queryParamList.remove(new WxMpUserQueryParam(openId)); | |||||
| return this; | return this; | ||||
| } | } | ||||
| @@ -91,7 +91,7 @@ public class WxMpUserQuery { | |||||
| * @return {@link WxMpUserQuery} | * @return {@link WxMpUserQuery} | ||||
| */ | */ | ||||
| public WxMpUserQuery remove(String openId, String lang) { | public WxMpUserQuery remove(String openId, String lang) { | ||||
| queryParamList.remove(new WxMpUserQueryParam(openId, lang)); | |||||
| this.queryParamList.remove(new WxMpUserQueryParam(openId, lang)); | |||||
| return this; | return this; | ||||
| } | } | ||||
| @@ -101,12 +101,12 @@ public class WxMpUserQuery { | |||||
| * @return | * @return | ||||
| */ | */ | ||||
| public List<WxMpUserQueryParam> getQueryParamList() { | public List<WxMpUserQueryParam> getQueryParamList() { | ||||
| return queryParamList; | |||||
| return this.queryParamList; | |||||
| } | } | ||||
| public String toJsonString() { | public String toJsonString() { | ||||
| Map<String, Object> map = new HashMap<>(); | Map<String, Object> map = new HashMap<>(); | ||||
| map.put("user_list", queryParamList); | |||||
| map.put("user_list", this.queryParamList); | |||||
| return new Gson().toJson(map); | return new Gson().toJson(map); | ||||
| } | } | ||||
| @@ -136,7 +136,7 @@ public class WxMpUserQuery { | |||||
| } | } | ||||
| public String getOpenid() { | public String getOpenid() { | ||||
| return openid; | |||||
| return this.openid; | |||||
| } | } | ||||
| public void setOpenid(String openid) { | public void setOpenid(String openid) { | ||||
| @@ -144,7 +144,7 @@ public class WxMpUserQuery { | |||||
| } | } | ||||
| public String getLang() { | public String getLang() { | ||||
| return lang; | |||||
| return this.lang; | |||||
| } | } | ||||
| public void setLang(String lang) { | public void setLang(String lang) { | ||||
| @@ -156,8 +156,8 @@ public class WxMpUserQuery { | |||||
| final int prime = 31; | final int prime = 31; | ||||
| int result = 1; | int result = 1; | ||||
| result = prime * result + getOuterType().hashCode(); | result = prime * result + getOuterType().hashCode(); | ||||
| result = prime * result + ((lang == null) ? 0 : lang.hashCode()); | |||||
| result = prime * result + ((openid == null) ? 0 : openid.hashCode()); | |||||
| result = prime * result + ((this.lang == null) ? 0 : this.lang.hashCode()); | |||||
| result = prime * result + ((this.openid == null) ? 0 : this.openid.hashCode()); | |||||
| return result; | return result; | ||||
| } | } | ||||
| @@ -172,15 +172,15 @@ public class WxMpUserQuery { | |||||
| WxMpUserQueryParam other = (WxMpUserQueryParam) obj; | WxMpUserQueryParam other = (WxMpUserQueryParam) obj; | ||||
| if (!getOuterType().equals(other.getOuterType())) | if (!getOuterType().equals(other.getOuterType())) | ||||
| return false; | return false; | ||||
| if (lang == null) { | |||||
| if (this.lang == null) { | |||||
| if (other.lang != null) | if (other.lang != null) | ||||
| return false; | return false; | ||||
| } else if (!lang.equals(other.lang)) | |||||
| } else if (!this.lang.equals(other.lang)) | |||||
| return false; | return false; | ||||
| if (openid == null) { | |||||
| if (this.openid == null) { | |||||
| if (other.openid != null) | if (other.openid != null) | ||||
| return false; | return false; | ||||
| } else if (!openid.equals(other.openid)) | |||||
| } else if (!this.openid.equals(other.openid)) | |||||
| return false; | return false; | ||||
| return true; | return true; | ||||
| } | } | ||||
| @@ -13,7 +13,7 @@ public class WxMpXmlOutImageMessage extends WxMpXmlOutMessage { | |||||
| private String mediaId; | private String mediaId; | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -16,43 +16,43 @@ public class WxMpXmlOutMusicMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return music.getTitle(); | |||||
| return this.music.getTitle(); | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| music.setTitle(title); | |||||
| this.music.setTitle(title); | |||||
| } | } | ||||
| public String getDescription() { | public String getDescription() { | ||||
| return music.getDescription(); | |||||
| return this.music.getDescription(); | |||||
| } | } | ||||
| public void setDescription(String description) { | public void setDescription(String description) { | ||||
| music.setDescription(description); | |||||
| this.music.setDescription(description); | |||||
| } | } | ||||
| public String getThumbMediaId() { | public String getThumbMediaId() { | ||||
| return music.getThumbMediaId(); | |||||
| return this.music.getThumbMediaId(); | |||||
| } | } | ||||
| public void setThumbMediaId(String thumbMediaId) { | public void setThumbMediaId(String thumbMediaId) { | ||||
| music.setThumbMediaId(thumbMediaId); | |||||
| this.music.setThumbMediaId(thumbMediaId); | |||||
| } | } | ||||
| public String getMusicUrl() { | public String getMusicUrl() { | ||||
| return music.getMusicUrl(); | |||||
| return this.music.getMusicUrl(); | |||||
| } | } | ||||
| public void setMusicUrl(String musicUrl) { | public void setMusicUrl(String musicUrl) { | ||||
| music.setMusicUrl(musicUrl); | |||||
| this.music.setMusicUrl(musicUrl); | |||||
| } | } | ||||
| public String getHqMusicUrl() { | public String getHqMusicUrl() { | ||||
| return music.getHqMusicUrl(); | |||||
| return this.music.getHqMusicUrl(); | |||||
| } | } | ||||
| public void setHqMusicUrl(String hqMusicUrl) { | public void setHqMusicUrl(String hqMusicUrl) { | ||||
| music.setHqMusicUrl(hqMusicUrl); | |||||
| this.music.setHqMusicUrl(hqMusicUrl); | |||||
| } | } | ||||
| @XStreamAlias("Music") | @XStreamAlias("Music") | ||||
| @@ -79,7 +79,7 @@ public class WxMpXmlOutMusicMessage extends WxMpXmlOutMessage { | |||||
| private String hqMusicUrl; | private String hqMusicUrl; | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return title; | |||||
| return this.title; | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| @@ -87,7 +87,7 @@ public class WxMpXmlOutMusicMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getDescription() { | public String getDescription() { | ||||
| return description; | |||||
| return this.description; | |||||
| } | } | ||||
| public void setDescription(String description) { | public void setDescription(String description) { | ||||
| @@ -95,7 +95,7 @@ public class WxMpXmlOutMusicMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getThumbMediaId() { | public String getThumbMediaId() { | ||||
| return thumbMediaId; | |||||
| return this.thumbMediaId; | |||||
| } | } | ||||
| public void setThumbMediaId(String thumbMediaId) { | public void setThumbMediaId(String thumbMediaId) { | ||||
| @@ -103,7 +103,7 @@ public class WxMpXmlOutMusicMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getMusicUrl() { | public String getMusicUrl() { | ||||
| return musicUrl; | |||||
| return this.musicUrl; | |||||
| } | } | ||||
| public void setMusicUrl(String musicUrl) { | public void setMusicUrl(String musicUrl) { | ||||
| @@ -111,7 +111,7 @@ public class WxMpXmlOutMusicMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getHqMusicUrl() { | public String getHqMusicUrl() { | ||||
| return hqMusicUrl; | |||||
| return this.hqMusicUrl; | |||||
| } | } | ||||
| public void setHqMusicUrl(String hqMusicUrl) { | public void setHqMusicUrl(String hqMusicUrl) { | ||||
| @@ -22,7 +22,7 @@ public class WxMpXmlOutNewsMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public int getArticleCount() { | public int getArticleCount() { | ||||
| return articleCount; | |||||
| return this.articleCount; | |||||
| } | } | ||||
| public void addArticle(Item item) { | public void addArticle(Item item) { | ||||
| @@ -31,7 +31,7 @@ public class WxMpXmlOutNewsMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public List<Item> getArticles() { | public List<Item> getArticles() { | ||||
| return articles; | |||||
| return this.articles; | |||||
| } | } | ||||
| @@ -55,35 +55,35 @@ public class WxMpXmlOutNewsMessage extends WxMpXmlOutMessage { | |||||
| private String Url; | private String Url; | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return Title; | |||||
| return this.Title; | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| Title = title; | |||||
| this.Title = title; | |||||
| } | } | ||||
| public String getDescription() { | public String getDescription() { | ||||
| return Description; | |||||
| return this.Description; | |||||
| } | } | ||||
| public void setDescription(String description) { | public void setDescription(String description) { | ||||
| Description = description; | |||||
| this.Description = description; | |||||
| } | } | ||||
| public String getPicUrl() { | public String getPicUrl() { | ||||
| return PicUrl; | |||||
| return this.PicUrl; | |||||
| } | } | ||||
| public void setPicUrl(String picUrl) { | public void setPicUrl(String picUrl) { | ||||
| PicUrl = picUrl; | |||||
| this.PicUrl = picUrl; | |||||
| } | } | ||||
| public String getUrl() { | public String getUrl() { | ||||
| return Url; | |||||
| return this.Url; | |||||
| } | } | ||||
| public void setUrl(String url) { | public void setUrl(String url) { | ||||
| Url = url; | |||||
| this.Url = url; | |||||
| } | } | ||||
| } | } | ||||
| @@ -17,7 +17,7 @@ public class WxMpXmlOutTextMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getContent() { | public String getContent() { | ||||
| return content; | |||||
| return this.content; | |||||
| } | } | ||||
| public void setContent(String content) { | public void setContent(String content) { | ||||
| @@ -16,27 +16,27 @@ public class WxMpXmlOutVideoMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return video.getMediaId(); | |||||
| return this.video.getMediaId(); | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| video.setMediaId(mediaId); | |||||
| this.video.setMediaId(mediaId); | |||||
| } | } | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return video.getTitle(); | |||||
| return this.video.getTitle(); | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| video.setTitle(title); | |||||
| this.video.setTitle(title); | |||||
| } | } | ||||
| public String getDescription() { | public String getDescription() { | ||||
| return video.getDescription(); | |||||
| return this.video.getDescription(); | |||||
| } | } | ||||
| public void setDescription(String description) { | public void setDescription(String description) { | ||||
| video.setDescription(description); | |||||
| this.video.setDescription(description); | |||||
| } | } | ||||
| @@ -56,7 +56,7 @@ public class WxMpXmlOutVideoMessage extends WxMpXmlOutMessage { | |||||
| private String description; | private String description; | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -64,7 +64,7 @@ public class WxMpXmlOutVideoMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return title; | |||||
| return this.title; | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| @@ -72,7 +72,7 @@ public class WxMpXmlOutVideoMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getDescription() { | public String getDescription() { | ||||
| return description; | |||||
| return this.description; | |||||
| } | } | ||||
| public void setDescription(String description) { | public void setDescription(String description) { | ||||
| @@ -17,7 +17,7 @@ public class WxMpXmlOutVoiceMessage extends WxMpXmlOutMessage { | |||||
| } | } | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -57,9 +57,9 @@ public final class MusicBuilder extends BaseBuilder<MusicBuilder> { | |||||
| WxMpCustomMessage m = super.build(); | WxMpCustomMessage m = super.build(); | ||||
| m.setMusicUrl(this.musicUrl); | m.setMusicUrl(this.musicUrl); | ||||
| m.setHqMusicUrl(this.hqMusicUrl); | m.setHqMusicUrl(this.hqMusicUrl); | ||||
| m.setTitle(title); | |||||
| m.setDescription(description); | |||||
| m.setThumbMediaId(thumbMediaId); | |||||
| m.setTitle(this.title); | |||||
| m.setDescription(this.description); | |||||
| m.setThumbMediaId(this.thumbMediaId); | |||||
| return m; | return m; | ||||
| } | } | ||||
| } | } | ||||
| @@ -51,9 +51,9 @@ public final class VideoBuilder extends BaseBuilder<VideoBuilder> { | |||||
| public WxMpCustomMessage build() { | public WxMpCustomMessage build() { | ||||
| WxMpCustomMessage m = super.build(); | WxMpCustomMessage m = super.build(); | ||||
| m.setMediaId(this.mediaId); | m.setMediaId(this.mediaId); | ||||
| m.setTitle(title); | |||||
| m.setDescription(description); | |||||
| m.setThumbMediaId(thumbMediaId); | |||||
| m.setTitle(this.title); | |||||
| m.setDescription(this.description); | |||||
| m.setThumbMediaId(this.thumbMediaId); | |||||
| return m; | return m; | ||||
| } | } | ||||
| } | } | ||||
| @@ -21,7 +21,7 @@ public class WxMpKfMsgList { | |||||
| private Long msgId; | private Long msgId; | ||||
| public List<WxMpKfMsgRecord> getRecords() { | public List<WxMpKfMsgRecord> getRecords() { | ||||
| return records; | |||||
| return this.records; | |||||
| } | } | ||||
| public void setRecords(List<WxMpKfMsgRecord> records) { | public void setRecords(List<WxMpKfMsgRecord> records) { | ||||
| @@ -29,7 +29,7 @@ public class WxMpKfMsgList { | |||||
| } | } | ||||
| public Integer getNumber() { | public Integer getNumber() { | ||||
| return number; | |||||
| return this.number; | |||||
| } | } | ||||
| public void setNumber(Integer number) { | public void setNumber(Integer number) { | ||||
| @@ -37,7 +37,7 @@ public class WxMpKfMsgList { | |||||
| } | } | ||||
| public Long getMsgId() { | public Long getMsgId() { | ||||
| return msgId; | |||||
| return this.msgId; | |||||
| } | } | ||||
| public void setMsgId(Long msgId) { | public void setMsgId(Long msgId) { | ||||
| @@ -46,7 +46,7 @@ public class WxMpKfMsgRecord { | |||||
| return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE); | return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE); | ||||
| } | } | ||||
| public String getWorker() { | public String getWorker() { | ||||
| return worker; | |||||
| return this.worker; | |||||
| } | } | ||||
| public void setWorker(String worker) { | public void setWorker(String worker) { | ||||
| @@ -54,7 +54,7 @@ public class WxMpKfMsgRecord { | |||||
| } | } | ||||
| public String getOpenid() { | public String getOpenid() { | ||||
| return openid; | |||||
| return this.openid; | |||||
| } | } | ||||
| public void setOpenid(String openid) { | public void setOpenid(String openid) { | ||||
| @@ -62,7 +62,7 @@ public class WxMpKfMsgRecord { | |||||
| } | } | ||||
| public String getText() { | public String getText() { | ||||
| return text; | |||||
| return this.text; | |||||
| } | } | ||||
| public void setText(String text) { | public void setText(String text) { | ||||
| @@ -70,7 +70,7 @@ public class WxMpKfMsgRecord { | |||||
| } | } | ||||
| public Long getTime() { | public Long getTime() { | ||||
| return time; | |||||
| return this.time; | |||||
| } | } | ||||
| public void setTime(Long time) { | public void setTime(Long time) { | ||||
| @@ -78,7 +78,7 @@ public class WxMpKfMsgRecord { | |||||
| } | } | ||||
| public Integer getOperateCode() { | public Integer getOperateCode() { | ||||
| return operateCode; | |||||
| return this.operateCode; | |||||
| } | } | ||||
| public void setOperateCode(Integer operateCode) { | public void setOperateCode(Integer operateCode) { | ||||
| @@ -44,11 +44,11 @@ public final class MusicBuilder extends BaseBuilder<MusicBuilder, WxMpXmlOutMusi | |||||
| public WxMpXmlOutMusicMessage build() { | public WxMpXmlOutMusicMessage build() { | ||||
| WxMpXmlOutMusicMessage m = new WxMpXmlOutMusicMessage(); | WxMpXmlOutMusicMessage m = new WxMpXmlOutMusicMessage(); | ||||
| setCommon(m); | setCommon(m); | ||||
| m.setTitle(title); | |||||
| m.setDescription(description); | |||||
| m.setHqMusicUrl(hqMusicUrl); | |||||
| m.setMusicUrl(musicUrl); | |||||
| m.setThumbMediaId(thumbMediaId); | |||||
| m.setTitle(this.title); | |||||
| m.setDescription(this.description); | |||||
| m.setHqMusicUrl(this.hqMusicUrl); | |||||
| m.setMusicUrl(this.musicUrl); | |||||
| m.setThumbMediaId(this.thumbMediaId); | |||||
| return m; | return m; | ||||
| } | } | ||||
| @@ -21,7 +21,7 @@ public final class NewsBuilder extends BaseBuilder<NewsBuilder, WxMpXmlOutNewsMe | |||||
| @Override | @Override | ||||
| public WxMpXmlOutNewsMessage build() { | public WxMpXmlOutNewsMessage build() { | ||||
| WxMpXmlOutNewsMessage m = new WxMpXmlOutNewsMessage(); | WxMpXmlOutNewsMessage m = new WxMpXmlOutNewsMessage(); | ||||
| for(WxMpXmlOutNewsMessage.Item item : articles) { | |||||
| for(WxMpXmlOutNewsMessage.Item item : this.articles) { | |||||
| m.addArticle(item); | m.addArticle(item); | ||||
| } | } | ||||
| setCommon(m); | setCommon(m); | ||||
| @@ -30,9 +30,9 @@ public final class VideoBuilder extends BaseBuilder<VideoBuilder, WxMpXmlOutVide | |||||
| public WxMpXmlOutVideoMessage build() { | public WxMpXmlOutVideoMessage build() { | ||||
| WxMpXmlOutVideoMessage m = new WxMpXmlOutVideoMessage(); | WxMpXmlOutVideoMessage m = new WxMpXmlOutVideoMessage(); | ||||
| setCommon(m); | setCommon(m); | ||||
| m.setTitle(title); | |||||
| m.setDescription(description); | |||||
| m.setMediaId(mediaId); | |||||
| m.setTitle(this.title); | |||||
| m.setDescription(this.description); | |||||
| m.setMediaId(this.mediaId); | |||||
| return m; | return m; | ||||
| } | } | ||||
| @@ -19,7 +19,7 @@ public final class VoiceBuilder extends BaseBuilder<VoiceBuilder, WxMpXmlOutVoic | |||||
| public WxMpXmlOutVoiceMessage build() { | public WxMpXmlOutVoiceMessage build() { | ||||
| WxMpXmlOutVoiceMessage m = new WxMpXmlOutVoiceMessage(); | WxMpXmlOutVoiceMessage m = new WxMpXmlOutVoiceMessage(); | ||||
| setCommon(m); | setCommon(m); | ||||
| m.setMediaId(mediaId); | |||||
| m.setMediaId(this.mediaId); | |||||
| return m; | return m; | ||||
| } | } | ||||
| @@ -15,7 +15,7 @@ public class WxMediaImgUploadResult implements Serializable { | |||||
| } | } | ||||
| public String getUrl() { | public String getUrl() { | ||||
| return url; | |||||
| return this.url; | |||||
| } | } | ||||
| public void setUrl(String url) { | public void setUrl(String url) { | ||||
| @@ -27,7 +27,7 @@ public class WxMpCardResult implements Serializable { | |||||
| private Boolean canConsume; | private Boolean canConsume; | ||||
| public String getErrorCode() { | public String getErrorCode() { | ||||
| return errorCode; | |||||
| return this.errorCode; | |||||
| } | } | ||||
| public void setErrorCode(String errorCode) { | public void setErrorCode(String errorCode) { | ||||
| @@ -35,7 +35,7 @@ public class WxMpCardResult implements Serializable { | |||||
| } | } | ||||
| public String getErrorMsg() { | public String getErrorMsg() { | ||||
| return errorMsg; | |||||
| return this.errorMsg; | |||||
| } | } | ||||
| public void setErrorMsg(String errorMsg) { | public void setErrorMsg(String errorMsg) { | ||||
| @@ -43,7 +43,7 @@ public class WxMpCardResult implements Serializable { | |||||
| } | } | ||||
| public String getOpenId() { | public String getOpenId() { | ||||
| return openId; | |||||
| return this.openId; | |||||
| } | } | ||||
| public void setOpenId(String openId) { | public void setOpenId(String openId) { | ||||
| @@ -51,7 +51,7 @@ public class WxMpCardResult implements Serializable { | |||||
| } | } | ||||
| public WxMpCard getCard() { | public WxMpCard getCard() { | ||||
| return card; | |||||
| return this.card; | |||||
| } | } | ||||
| public void setCard(WxMpCard card) { | public void setCard(WxMpCard card) { | ||||
| @@ -64,7 +64,7 @@ public class WxMpCardResult implements Serializable { | |||||
| } | } | ||||
| public String getUserCardStatus() { | public String getUserCardStatus() { | ||||
| return userCardStatus; | |||||
| return this.userCardStatus; | |||||
| } | } | ||||
| public void setUserCardStatus(String userCardStatus) { | public void setUserCardStatus(String userCardStatus) { | ||||
| @@ -72,7 +72,7 @@ public class WxMpCardResult implements Serializable { | |||||
| } | } | ||||
| public Boolean getCanConsume() { | public Boolean getCanConsume() { | ||||
| return canConsume; | |||||
| return this.canConsume; | |||||
| } | } | ||||
| public void setCanConsume(Boolean canConsume) { | public void setCanConsume(Boolean canConsume) { | ||||
| @@ -23,7 +23,7 @@ public class WxMpMassSendResult implements Serializable { | |||||
| private String msgDataId; | private String msgDataId; | ||||
| public String getErrorCode() { | public String getErrorCode() { | ||||
| return errorCode; | |||||
| return this.errorCode; | |||||
| } | } | ||||
| public void setErrorCode(String errorCode) { | public void setErrorCode(String errorCode) { | ||||
| @@ -31,7 +31,7 @@ public class WxMpMassSendResult implements Serializable { | |||||
| } | } | ||||
| public String getErrorMsg() { | public String getErrorMsg() { | ||||
| return errorMsg; | |||||
| return this.errorMsg; | |||||
| } | } | ||||
| public void setErrorMsg(String errorMsg) { | public void setErrorMsg(String errorMsg) { | ||||
| @@ -39,7 +39,7 @@ public class WxMpMassSendResult implements Serializable { | |||||
| } | } | ||||
| public String getMsgId() { | public String getMsgId() { | ||||
| return msgId; | |||||
| return this.msgId; | |||||
| } | } | ||||
| public void setMsgId(String msgId) { | public void setMsgId(String msgId) { | ||||
| @@ -47,7 +47,7 @@ public class WxMpMassSendResult implements Serializable { | |||||
| } | } | ||||
| public String getMsgDataId() { | public String getMsgDataId() { | ||||
| return msgDataId; | |||||
| return this.msgDataId; | |||||
| } | } | ||||
| public void setMsgDataId(String msgDataId) { | public void setMsgDataId(String msgDataId) { | ||||
| @@ -60,7 +60,7 @@ public class WxMpMassSendResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMassSendResult [errcode=" + errorCode + ", errmsg=" + errorMsg + ", msg_id=" + msgId + "]"; | |||||
| return "WxMassSendResult [errcode=" + this.errorCode + ", errmsg=" + this.errorMsg + ", msg_id=" + this.msgId + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -19,7 +19,7 @@ public class WxMpMassUploadResult implements Serializable { | |||||
| private long createdAt; | private long createdAt; | ||||
| public String getType() { | public String getType() { | ||||
| return type; | |||||
| return this.type; | |||||
| } | } | ||||
| public void setType(String type) { | public void setType(String type) { | ||||
| @@ -27,7 +27,7 @@ public class WxMpMassUploadResult implements Serializable { | |||||
| } | } | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -35,7 +35,7 @@ public class WxMpMassUploadResult implements Serializable { | |||||
| } | } | ||||
| public long getCreatedAt() { | public long getCreatedAt() { | ||||
| return createdAt; | |||||
| return this.createdAt; | |||||
| } | } | ||||
| public void setCreatedAt(long createdAt) { | public void setCreatedAt(long createdAt) { | ||||
| @@ -48,7 +48,7 @@ public class WxMpMassUploadResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxUploadResult [type=" + type + ", media_id=" + mediaId + ", created_at=" + createdAt + "]"; | |||||
| return "WxUploadResult [type=" + this.type + ", media_id=" + this.mediaId + ", created_at=" + this.createdAt + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -10,7 +10,7 @@ public class WxMpMaterialCountResult implements Serializable { | |||||
| private int newsCount; | private int newsCount; | ||||
| public int getVoiceCount() { | public int getVoiceCount() { | ||||
| return voiceCount; | |||||
| return this.voiceCount; | |||||
| } | } | ||||
| public void setVoiceCount(int voiceCount) { | public void setVoiceCount(int voiceCount) { | ||||
| @@ -18,7 +18,7 @@ public class WxMpMaterialCountResult implements Serializable { | |||||
| } | } | ||||
| public int getVideoCount() { | public int getVideoCount() { | ||||
| return videoCount; | |||||
| return this.videoCount; | |||||
| } | } | ||||
| public void setVideoCount(int videoCount) { | public void setVideoCount(int videoCount) { | ||||
| @@ -26,7 +26,7 @@ public class WxMpMaterialCountResult implements Serializable { | |||||
| } | } | ||||
| public int getImageCount() { | public int getImageCount() { | ||||
| return imageCount; | |||||
| return this.imageCount; | |||||
| } | } | ||||
| public void setImageCount(int imageCount) { | public void setImageCount(int imageCount) { | ||||
| @@ -34,7 +34,7 @@ public class WxMpMaterialCountResult implements Serializable { | |||||
| } | } | ||||
| public int getNewsCount() { | public int getNewsCount() { | ||||
| return newsCount; | |||||
| return this.newsCount; | |||||
| } | } | ||||
| public void setNewsCount(int newsCount) { | public void setNewsCount(int newsCount) { | ||||
| @@ -43,8 +43,8 @@ public class WxMpMaterialCountResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMaterialCountResult [" + "voiceCount=" + voiceCount + ", videoCount=" + videoCount | |||||
| + ", imageCount=" + imageCount + ", newsCount=" + newsCount + "]"; | |||||
| return "WxMpMaterialCountResult [" + "voiceCount=" + this.voiceCount + ", videoCount=" + this.videoCount | |||||
| + ", imageCount=" + this.imageCount + ", newsCount=" + this.newsCount + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -11,7 +11,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| private List<WxMaterialFileBatchGetNewsItem> items; | private List<WxMaterialFileBatchGetNewsItem> items; | ||||
| public int getTotalCount() { | public int getTotalCount() { | ||||
| return totalCount; | |||||
| return this.totalCount; | |||||
| } | } | ||||
| public void setTotalCount(int totalCount) { | public void setTotalCount(int totalCount) { | ||||
| @@ -19,7 +19,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public int getItemCount() { | public int getItemCount() { | ||||
| return itemCount; | |||||
| return this.itemCount; | |||||
| } | } | ||||
| public void setItemCount(int itemCount) { | public void setItemCount(int itemCount) { | ||||
| @@ -27,7 +27,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public List<WxMaterialFileBatchGetNewsItem> getItems() { | public List<WxMaterialFileBatchGetNewsItem> getItems() { | ||||
| return items; | |||||
| return this.items; | |||||
| } | } | ||||
| public void setItems(List<WxMaterialFileBatchGetNewsItem> items) { | public void setItems(List<WxMaterialFileBatchGetNewsItem> items) { | ||||
| @@ -36,7 +36,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMaterialFileBatchGetResult [" + "totalCount=" + totalCount + ", itemCount=" + itemCount + ", items=" + items + "]"; | |||||
| return "WxMpMaterialFileBatchGetResult [" + "totalCount=" + this.totalCount + ", itemCount=" + this.itemCount + ", items=" + this.items + "]"; | |||||
| } | } | ||||
| public static class WxMaterialFileBatchGetNewsItem { | public static class WxMaterialFileBatchGetNewsItem { | ||||
| @@ -46,7 +46,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| private String url; | private String url; | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -54,7 +54,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public Date getUpdateTime() { | public Date getUpdateTime() { | ||||
| return updateTime; | |||||
| return this.updateTime; | |||||
| } | } | ||||
| public void setUpdateTime(Date updateTime) { | public void setUpdateTime(Date updateTime) { | ||||
| @@ -62,7 +62,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public String getName() { | public String getName() { | ||||
| return name; | |||||
| return this.name; | |||||
| } | } | ||||
| public void setName(String name) { | public void setName(String name) { | ||||
| @@ -70,7 +70,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public String getUrl() { | public String getUrl() { | ||||
| return url; | |||||
| return this.url; | |||||
| } | } | ||||
| public void setUrl(String url) { | public void setUrl(String url) { | ||||
| @@ -79,7 +79,7 @@ public class WxMpMaterialFileBatchGetResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMaterialFileBatchGetNewsItem [" + "mediaId=" + mediaId + ", updateTime=" + updateTime + ", name=" + name + ", url=" + url + "]"; | |||||
| return "WxMaterialFileBatchGetNewsItem [" + "mediaId=" + this.mediaId + ", updateTime=" + this.updateTime + ", name=" + this.name + ", url=" + this.url + "]"; | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -13,7 +13,7 @@ public class WxMpMaterialNewsBatchGetResult implements Serializable { | |||||
| private List<WxMaterialNewsBatchGetNewsItem> items; | private List<WxMaterialNewsBatchGetNewsItem> items; | ||||
| public int getTotalCount() { | public int getTotalCount() { | ||||
| return totalCount; | |||||
| return this.totalCount; | |||||
| } | } | ||||
| public void setTotalCount(int totalCount) { | public void setTotalCount(int totalCount) { | ||||
| @@ -21,7 +21,7 @@ public class WxMpMaterialNewsBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public int getItemCount() { | public int getItemCount() { | ||||
| return itemCount; | |||||
| return this.itemCount; | |||||
| } | } | ||||
| public void setItemCount(int itemCount) { | public void setItemCount(int itemCount) { | ||||
| @@ -29,7 +29,7 @@ public class WxMpMaterialNewsBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public List<WxMaterialNewsBatchGetNewsItem> getItems() { | public List<WxMaterialNewsBatchGetNewsItem> getItems() { | ||||
| return items; | |||||
| return this.items; | |||||
| } | } | ||||
| public void setItems(List<WxMaterialNewsBatchGetNewsItem> items) { | public void setItems(List<WxMaterialNewsBatchGetNewsItem> items) { | ||||
| @@ -38,7 +38,7 @@ public class WxMpMaterialNewsBatchGetResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMaterialNewsBatchGetResult [" + "totalCount=" + totalCount + ", itemCount=" + itemCount + ", items=" + items + "]"; | |||||
| return "WxMpMaterialNewsBatchGetResult [" + "totalCount=" + this.totalCount + ", itemCount=" + this.itemCount + ", items=" + this.items + "]"; | |||||
| } | } | ||||
| public static class WxMaterialNewsBatchGetNewsItem { | public static class WxMaterialNewsBatchGetNewsItem { | ||||
| @@ -47,7 +47,7 @@ public class WxMpMaterialNewsBatchGetResult implements Serializable { | |||||
| private WxMpMaterialNews content; | private WxMpMaterialNews content; | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -55,7 +55,7 @@ public class WxMpMaterialNewsBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public Date getUpdateTime() { | public Date getUpdateTime() { | ||||
| return updateTime; | |||||
| return this.updateTime; | |||||
| } | } | ||||
| public void setUpdateTime(Date updateTime) { | public void setUpdateTime(Date updateTime) { | ||||
| @@ -63,7 +63,7 @@ public class WxMpMaterialNewsBatchGetResult implements Serializable { | |||||
| } | } | ||||
| public WxMpMaterialNews getContent() { | public WxMpMaterialNews getContent() { | ||||
| return content; | |||||
| return this.content; | |||||
| } | } | ||||
| public void setContent(WxMpMaterialNews content) { | public void setContent(WxMpMaterialNews content) { | ||||
| @@ -72,7 +72,7 @@ public class WxMpMaterialNewsBatchGetResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMaterialNewsBatchGetNewsItem [" + "mediaId=" + mediaId + ", updateTime=" + updateTime + ", content=" + content + "]"; | |||||
| return "WxMaterialNewsBatchGetNewsItem [" + "mediaId=" + this.mediaId + ", updateTime=" + this.updateTime + ", content=" + this.content + "]"; | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -10,7 +10,7 @@ public class WxMpMaterialUploadResult implements Serializable { | |||||
| private String url; | private String url; | ||||
| public String getMediaId() { | public String getMediaId() { | ||||
| return mediaId; | |||||
| return this.mediaId; | |||||
| } | } | ||||
| public void setMediaId(String mediaId) { | public void setMediaId(String mediaId) { | ||||
| @@ -18,7 +18,7 @@ public class WxMpMaterialUploadResult implements Serializable { | |||||
| } | } | ||||
| public String getUrl() { | public String getUrl() { | ||||
| return url; | |||||
| return this.url; | |||||
| } | } | ||||
| public void setUrl(String url) { | public void setUrl(String url) { | ||||
| @@ -31,7 +31,7 @@ public class WxMpMaterialUploadResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMaterialUploadResult [media_id=" + mediaId + ", url=" + url + "]"; | |||||
| return "WxMpMaterialUploadResult [media_id=" + this.mediaId + ", url=" + this.url + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -11,7 +11,7 @@ public class WxMpMaterialVideoInfoResult implements Serializable { | |||||
| private String downUrl; | private String downUrl; | ||||
| public String getTitle() { | public String getTitle() { | ||||
| return title; | |||||
| return this.title; | |||||
| } | } | ||||
| public void setTitle(String title) { | public void setTitle(String title) { | ||||
| @@ -19,7 +19,7 @@ public class WxMpMaterialVideoInfoResult implements Serializable { | |||||
| } | } | ||||
| public String getDescription() { | public String getDescription() { | ||||
| return description; | |||||
| return this.description; | |||||
| } | } | ||||
| public void setDescription(String description) { | public void setDescription(String description) { | ||||
| @@ -27,7 +27,7 @@ public class WxMpMaterialVideoInfoResult implements Serializable { | |||||
| } | } | ||||
| public String getDownUrl() { | public String getDownUrl() { | ||||
| return downUrl; | |||||
| return this.downUrl; | |||||
| } | } | ||||
| public void setDownUrl(String downUrl) { | public void setDownUrl(String downUrl) { | ||||
| @@ -40,7 +40,7 @@ public class WxMpMaterialVideoInfoResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpMaterialVideoInfoResult [title=" + title + ", description=" + description + ", downUrl=" + downUrl + "]"; | |||||
| return "WxMpMaterialVideoInfoResult [title=" + this.title + ", description=" + this.description + ", downUrl=" + this.downUrl + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -19,7 +19,7 @@ public class WxMpOAuth2AccessToken implements Serializable { | |||||
| private String unionId; | private String unionId; | ||||
| public String getRefreshToken() { | public String getRefreshToken() { | ||||
| return refreshToken; | |||||
| return this.refreshToken; | |||||
| } | } | ||||
| public void setRefreshToken(String refreshToken) { | public void setRefreshToken(String refreshToken) { | ||||
| @@ -27,7 +27,7 @@ public class WxMpOAuth2AccessToken implements Serializable { | |||||
| } | } | ||||
| public String getOpenId() { | public String getOpenId() { | ||||
| return openId; | |||||
| return this.openId; | |||||
| } | } | ||||
| public void setOpenId(String openId) { | public void setOpenId(String openId) { | ||||
| @@ -35,7 +35,7 @@ public class WxMpOAuth2AccessToken implements Serializable { | |||||
| } | } | ||||
| public String getScope() { | public String getScope() { | ||||
| return scope; | |||||
| return this.scope; | |||||
| } | } | ||||
| public void setScope(String scope) { | public void setScope(String scope) { | ||||
| @@ -43,7 +43,7 @@ public class WxMpOAuth2AccessToken implements Serializable { | |||||
| } | } | ||||
| public String getAccessToken() { | public String getAccessToken() { | ||||
| return accessToken; | |||||
| return this.accessToken; | |||||
| } | } | ||||
| public void setAccessToken(String accessToken) { | public void setAccessToken(String accessToken) { | ||||
| @@ -51,7 +51,7 @@ public class WxMpOAuth2AccessToken implements Serializable { | |||||
| } | } | ||||
| public int getExpiresIn() { | public int getExpiresIn() { | ||||
| return expiresIn; | |||||
| return this.expiresIn; | |||||
| } | } | ||||
| public void setExpiresIn(int expiresIn) { | public void setExpiresIn(int expiresIn) { | ||||
| @@ -59,7 +59,7 @@ public class WxMpOAuth2AccessToken implements Serializable { | |||||
| } | } | ||||
| public String getUnionId() { | public String getUnionId() { | ||||
| return unionId; | |||||
| return this.unionId; | |||||
| } | } | ||||
| public void setUnionId(String unionId) { | public void setUnionId(String unionId) { | ||||
| @@ -73,12 +73,12 @@ public class WxMpOAuth2AccessToken implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpOAuth2AccessToken{" + | return "WxMpOAuth2AccessToken{" + | ||||
| "accessToken='" + accessToken + '\'' + | |||||
| ", expiresTime=" + expiresIn + | |||||
| ", refreshToken='" + refreshToken + '\'' + | |||||
| ", openId='" + openId + '\'' + | |||||
| ", scope='" + scope + '\'' + | |||||
| ", unionId='" + unionId + '\'' + | |||||
| "accessToken='" + this.accessToken + '\'' + | |||||
| ", expiresTime=" + this.expiresIn + | |||||
| ", refreshToken='" + this.refreshToken + '\'' + | |||||
| ", openId='" + this.openId + '\'' + | |||||
| ", scope='" + this.scope + '\'' + | |||||
| ", unionId='" + this.unionId + '\'' + | |||||
| '}'; | '}'; | ||||
| } | } | ||||
| } | } | ||||
| @@ -42,111 +42,111 @@ public class WxMpPayCallback implements Serializable { | |||||
| private String time_end; | private String time_end; | ||||
| public String getReturn_code() { | public String getReturn_code() { | ||||
| return return_code; | |||||
| return this.return_code; | |||||
| } | } | ||||
| public String getReturn_msg() { | public String getReturn_msg() { | ||||
| return return_msg; | |||||
| return this.return_msg; | |||||
| } | } | ||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | |||||
| return this.appid; | |||||
| } | } | ||||
| public String getMch_id() { | public String getMch_id() { | ||||
| return mch_id; | |||||
| return this.mch_id; | |||||
| } | } | ||||
| public String getDevice_info() { | public String getDevice_info() { | ||||
| return device_info; | |||||
| return this.device_info; | |||||
| } | } | ||||
| public String getNonce_str() { | public String getNonce_str() { | ||||
| return nonce_str; | |||||
| return this.nonce_str; | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public String getResult_code() { | public String getResult_code() { | ||||
| return result_code; | |||||
| return this.result_code; | |||||
| } | } | ||||
| public String getErr_code() { | public String getErr_code() { | ||||
| return err_code; | |||||
| return this.err_code; | |||||
| } | } | ||||
| public String getErr_code_des() { | public String getErr_code_des() { | ||||
| return err_code_des; | |||||
| return this.err_code_des; | |||||
| } | } | ||||
| public String getOpenid() { | public String getOpenid() { | ||||
| return openid; | |||||
| return this.openid; | |||||
| } | } | ||||
| public String getIs_subscribe() { | public String getIs_subscribe() { | ||||
| return is_subscribe; | |||||
| return this.is_subscribe; | |||||
| } | } | ||||
| public String getTrade_type() { | public String getTrade_type() { | ||||
| return trade_type; | |||||
| return this.trade_type; | |||||
| } | } | ||||
| public String getBank_type() { | public String getBank_type() { | ||||
| return bank_type; | |||||
| return this.bank_type; | |||||
| } | } | ||||
| public String getTotal_fee() { | public String getTotal_fee() { | ||||
| return total_fee; | |||||
| return this.total_fee; | |||||
| } | } | ||||
| public String getFee_type() { | public String getFee_type() { | ||||
| return fee_type; | |||||
| return this.fee_type; | |||||
| } | } | ||||
| public String getCash_fee() { | public String getCash_fee() { | ||||
| return cash_fee; | |||||
| return this.cash_fee; | |||||
| } | } | ||||
| public String getCash_fee_type() { | public String getCash_fee_type() { | ||||
| return cash_fee_type; | |||||
| return this.cash_fee_type; | |||||
| } | } | ||||
| public String getCoupon_fee() { | public String getCoupon_fee() { | ||||
| return coupon_fee; | |||||
| return this.coupon_fee; | |||||
| } | } | ||||
| public String getCoupon_count() { | public String getCoupon_count() { | ||||
| return coupon_count; | |||||
| return this.coupon_count; | |||||
| } | } | ||||
| public String getCoupon_batch_id_$n() { | public String getCoupon_batch_id_$n() { | ||||
| return coupon_batch_id_$n; | |||||
| return this.coupon_batch_id_$n; | |||||
| } | } | ||||
| public String getCoupon_id_$n() { | public String getCoupon_id_$n() { | ||||
| return coupon_id_$n; | |||||
| return this.coupon_id_$n; | |||||
| } | } | ||||
| public String getCoupon_fee_$n() { | public String getCoupon_fee_$n() { | ||||
| return coupon_fee_$n; | |||||
| return this.coupon_fee_$n; | |||||
| } | } | ||||
| public String getTransaction_id() { | public String getTransaction_id() { | ||||
| return transaction_id; | |||||
| return this.transaction_id; | |||||
| } | } | ||||
| public String getOut_trade_no() { | public String getOut_trade_no() { | ||||
| return out_trade_no; | |||||
| return this.out_trade_no; | |||||
| } | } | ||||
| public String getAttach() { | public String getAttach() { | ||||
| return attach; | |||||
| return this.attach; | |||||
| } | } | ||||
| public String getTime_end() { | public String getTime_end() { | ||||
| return time_end; | |||||
| return this.time_end; | |||||
| } | } | ||||
| public void setReturn_code(String return_code) { | public void setReturn_code(String return_code) { | ||||
| @@ -259,21 +259,21 @@ public class WxMpPayCallback implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpPayCallback [return_code=" + return_code + ", return_msg=" | |||||
| + return_msg + ", appid=" + appid + ", mch_id=" + mch_id | |||||
| + ", device_info=" + device_info + ", nonce_str=" + nonce_str | |||||
| + ", sign=" + sign + ", result_code=" + result_code | |||||
| + ", err_code=" + err_code + ", err_code_des=" + err_code_des | |||||
| + ", openid=" + openid + ", is_subscribe=" + is_subscribe | |||||
| + ", trade_type=" + trade_type + ", bank_type=" + bank_type | |||||
| + ", total_fee=" + total_fee + ", fee_type=" + fee_type | |||||
| + ", cash_fee=" + cash_fee + ", cash_fee_type=" + cash_fee_type | |||||
| + ", coupon_fee=" + coupon_fee + ", coupon_count=" | |||||
| + coupon_count + ", coupon_batch_id_$n=" + coupon_batch_id_$n | |||||
| + ", coupon_id_$n=" + coupon_id_$n + ", coupon_fee_$n=" | |||||
| + coupon_fee_$n + ", transaction_id=" + transaction_id | |||||
| + ", out_trade_no=" + out_trade_no + ", attach=" + attach | |||||
| + ", time_end=" + time_end + "]"; | |||||
| return "WxMpPayCallback [return_code=" + this.return_code + ", return_msg=" | |||||
| + this.return_msg + ", appid=" + this.appid + ", mch_id=" + this.mch_id | |||||
| + ", device_info=" + this.device_info + ", nonce_str=" + this.nonce_str | |||||
| + ", sign=" + this.sign + ", result_code=" + this.result_code | |||||
| + ", err_code=" + this.err_code + ", err_code_des=" + this.err_code_des | |||||
| + ", openid=" + this.openid + ", is_subscribe=" + this.is_subscribe | |||||
| + ", trade_type=" + this.trade_type + ", bank_type=" + this.bank_type | |||||
| + ", total_fee=" + this.total_fee + ", fee_type=" + this.fee_type | |||||
| + ", cash_fee=" + this.cash_fee + ", cash_fee_type=" + this.cash_fee_type | |||||
| + ", coupon_fee=" + this.coupon_fee + ", coupon_count=" | |||||
| + this.coupon_count + ", coupon_batch_id_$n=" + this.coupon_batch_id_$n | |||||
| + ", coupon_id_$n=" + this.coupon_id_$n + ", coupon_fee_$n=" | |||||
| + this.coupon_fee_$n + ", transaction_id=" + this.transaction_id | |||||
| + ", out_trade_no=" + this.out_trade_no + ", attach=" + this.attach | |||||
| + ", time_end=" + this.time_end + "]"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -85,7 +85,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| private String couponRefundId; | private String couponRefundId; | ||||
| public String getReturnCode() { | public String getReturnCode() { | ||||
| return returnCode; | |||||
| return this.returnCode; | |||||
| } | } | ||||
| public void setReturnCode(String returnCode) { | public void setReturnCode(String returnCode) { | ||||
| @@ -93,7 +93,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getReturnMsg() { | public String getReturnMsg() { | ||||
| return returnMsg; | |||||
| return this.returnMsg; | |||||
| } | } | ||||
| public void setReturnMsg(String returnMsg) { | public void setReturnMsg(String returnMsg) { | ||||
| @@ -101,7 +101,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getResultCode() { | public String getResultCode() { | ||||
| return resultCode; | |||||
| return this.resultCode; | |||||
| } | } | ||||
| public void setResultCode(String resultCode) { | public void setResultCode(String resultCode) { | ||||
| @@ -109,7 +109,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getErrCode() { | public String getErrCode() { | ||||
| return errCode; | |||||
| return this.errCode; | |||||
| } | } | ||||
| public void setErrCode(String errCode) { | public void setErrCode(String errCode) { | ||||
| @@ -117,7 +117,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getErrCodeDes() { | public String getErrCodeDes() { | ||||
| return errCodeDes; | |||||
| return this.errCodeDes; | |||||
| } | } | ||||
| public void setErrCodeDes(String errCodeDes) { | public void setErrCodeDes(String errCodeDes) { | ||||
| @@ -125,7 +125,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | |||||
| return this.appid; | |||||
| } | } | ||||
| public void setAppid(String appid) { | public void setAppid(String appid) { | ||||
| @@ -133,7 +133,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getMchId() { | public String getMchId() { | ||||
| return mchId; | |||||
| return this.mchId; | |||||
| } | } | ||||
| public void setMchId(String mchId) { | public void setMchId(String mchId) { | ||||
| @@ -141,7 +141,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getDeviceInfo() { | public String getDeviceInfo() { | ||||
| return deviceInfo; | |||||
| return this.deviceInfo; | |||||
| } | } | ||||
| public void setDeviceInfo(String deviceInfo) { | public void setDeviceInfo(String deviceInfo) { | ||||
| @@ -149,7 +149,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getNonceStr() { | public String getNonceStr() { | ||||
| return nonceStr; | |||||
| return this.nonceStr; | |||||
| } | } | ||||
| public void setNonceStr(String nonceStr) { | public void setNonceStr(String nonceStr) { | ||||
| @@ -157,7 +157,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public void setSign(String sign) { | public void setSign(String sign) { | ||||
| @@ -165,7 +165,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getTransactionId() { | public String getTransactionId() { | ||||
| return transactionId; | |||||
| return this.transactionId; | |||||
| } | } | ||||
| public void setTransactionId(String transactionId) { | public void setTransactionId(String transactionId) { | ||||
| @@ -173,7 +173,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getOutTradeNo() { | public String getOutTradeNo() { | ||||
| return outTradeNo; | |||||
| return this.outTradeNo; | |||||
| } | } | ||||
| public void setOutTradeNo(String outTradeNo) { | public void setOutTradeNo(String outTradeNo) { | ||||
| @@ -181,7 +181,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getOutRefundNo() { | public String getOutRefundNo() { | ||||
| return outRefundNo; | |||||
| return this.outRefundNo; | |||||
| } | } | ||||
| public void setOutRefundNo(String outRefundNo) { | public void setOutRefundNo(String outRefundNo) { | ||||
| @@ -189,7 +189,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getRefundId() { | public String getRefundId() { | ||||
| return refundId; | |||||
| return this.refundId; | |||||
| } | } | ||||
| public void setRefundId(String refundId) { | public void setRefundId(String refundId) { | ||||
| @@ -197,7 +197,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getRefundChannel() { | public String getRefundChannel() { | ||||
| return refundChannel; | |||||
| return this.refundChannel; | |||||
| } | } | ||||
| public void setRefundChannel(String refundChannel) { | public void setRefundChannel(String refundChannel) { | ||||
| @@ -205,7 +205,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getRefundFee() { | public String getRefundFee() { | ||||
| return refundFee; | |||||
| return this.refundFee; | |||||
| } | } | ||||
| public void setRefundFee(String refundFee) { | public void setRefundFee(String refundFee) { | ||||
| @@ -213,7 +213,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getTotalFee() { | public String getTotalFee() { | ||||
| return totalFee; | |||||
| return this.totalFee; | |||||
| } | } | ||||
| public void setTotalFee(String totalFee) { | public void setTotalFee(String totalFee) { | ||||
| @@ -221,7 +221,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getFeeType() { | public String getFeeType() { | ||||
| return feeType; | |||||
| return this.feeType; | |||||
| } | } | ||||
| public void setFeeType(String feeType) { | public void setFeeType(String feeType) { | ||||
| @@ -229,7 +229,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getCashFee() { | public String getCashFee() { | ||||
| return cashFee; | |||||
| return this.cashFee; | |||||
| } | } | ||||
| public void setCashFee(String cashFee) { | public void setCashFee(String cashFee) { | ||||
| @@ -237,7 +237,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getCashRefundfee() { | public String getCashRefundfee() { | ||||
| return cashRefundfee; | |||||
| return this.cashRefundfee; | |||||
| } | } | ||||
| public void setCashRefundfee(String cashRefundfee) { | public void setCashRefundfee(String cashRefundfee) { | ||||
| @@ -245,7 +245,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getCouponRefundFee() { | public String getCouponRefundFee() { | ||||
| return couponRefundFee; | |||||
| return this.couponRefundFee; | |||||
| } | } | ||||
| public void setCouponRefundFee(String couponRefundFee) { | public void setCouponRefundFee(String couponRefundFee) { | ||||
| @@ -253,7 +253,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getCouponRefundCount() { | public String getCouponRefundCount() { | ||||
| return couponRefundCount; | |||||
| return this.couponRefundCount; | |||||
| } | } | ||||
| public void setCouponRefundCount(String couponRefundCount) { | public void setCouponRefundCount(String couponRefundCount) { | ||||
| @@ -261,7 +261,7 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| } | } | ||||
| public String getCouponRefundId() { | public String getCouponRefundId() { | ||||
| return couponRefundId; | |||||
| return this.couponRefundId; | |||||
| } | } | ||||
| public void setCouponRefundId(String couponRefundId) { | public void setCouponRefundId(String couponRefundId) { | ||||
| @@ -271,8 +271,8 @@ public class WxMpPayRefundResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "[" + | return "[" + | ||||
| "return_code:" + returnCode + ";" + | |||||
| "return_msg" + returnMsg + ";"; | |||||
| "return_code:" + this.returnCode + ";" + | |||||
| "return_msg" + this.returnMsg + ";"; | |||||
| } | } | ||||
| } | } | ||||
| @@ -43,91 +43,91 @@ public class WxMpPayResult implements Serializable { | |||||
| private String time_end; | private String time_end; | ||||
| public String getReturn_code() { | public String getReturn_code() { | ||||
| return return_code; | |||||
| return this.return_code; | |||||
| } | } | ||||
| public String getReturn_msg() { | public String getReturn_msg() { | ||||
| return return_msg; | |||||
| return this.return_msg; | |||||
| } | } | ||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | |||||
| return this.appid; | |||||
| } | } | ||||
| public String getMch_id() { | public String getMch_id() { | ||||
| return mch_id; | |||||
| return this.mch_id; | |||||
| } | } | ||||
| public String getNonce_str() { | public String getNonce_str() { | ||||
| return nonce_str; | |||||
| return this.nonce_str; | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public String getResult_code() { | public String getResult_code() { | ||||
| return result_code; | |||||
| return this.result_code; | |||||
| } | } | ||||
| public String getErr_code() { | public String getErr_code() { | ||||
| return err_code; | |||||
| return this.err_code; | |||||
| } | } | ||||
| public String getErr_code_des() { | public String getErr_code_des() { | ||||
| return err_code_des; | |||||
| return this.err_code_des; | |||||
| } | } | ||||
| public String getTrade_state() { | public String getTrade_state() { | ||||
| return trade_state; | |||||
| return this.trade_state; | |||||
| } | } | ||||
| public String getDevice_info() { | public String getDevice_info() { | ||||
| return device_info; | |||||
| return this.device_info; | |||||
| } | } | ||||
| public String getOpenid() { | public String getOpenid() { | ||||
| return openid; | |||||
| return this.openid; | |||||
| } | } | ||||
| public String getIs_subscribe() { | public String getIs_subscribe() { | ||||
| return is_subscribe; | |||||
| return this.is_subscribe; | |||||
| } | } | ||||
| public String getTrade_type() { | public String getTrade_type() { | ||||
| return trade_type; | |||||
| return this.trade_type; | |||||
| } | } | ||||
| public String getBank_type() { | public String getBank_type() { | ||||
| return bank_type; | |||||
| return this.bank_type; | |||||
| } | } | ||||
| public String getTotal_fee() { | public String getTotal_fee() { | ||||
| return total_fee; | |||||
| return this.total_fee; | |||||
| } | } | ||||
| public String getCoupon_fee() { | public String getCoupon_fee() { | ||||
| return coupon_fee; | |||||
| return this.coupon_fee; | |||||
| } | } | ||||
| public String getFee_type() { | public String getFee_type() { | ||||
| return fee_type; | |||||
| return this.fee_type; | |||||
| } | } | ||||
| public String getTransaction_id() { | public String getTransaction_id() { | ||||
| return transaction_id; | |||||
| return this.transaction_id; | |||||
| } | } | ||||
| public String getOut_trade_no() { | public String getOut_trade_no() { | ||||
| return out_trade_no; | |||||
| return this.out_trade_no; | |||||
| } | } | ||||
| public String getAttach() { | public String getAttach() { | ||||
| return attach; | |||||
| return this.attach; | |||||
| } | } | ||||
| public String getTime_end() { | public String getTime_end() { | ||||
| return time_end; | |||||
| return this.time_end; | |||||
| } | } | ||||
| public void setReturn_code(String return_code) { | public void setReturn_code(String return_code) { | ||||
| @@ -219,7 +219,7 @@ public class WxMpPayResult implements Serializable { | |||||
| } | } | ||||
| public String getTrade_state_desc() { | public String getTrade_state_desc() { | ||||
| return trade_state_desc; | |||||
| return this.trade_state_desc; | |||||
| } | } | ||||
| public void setTrade_state_desc(String trade_state_desc) { | public void setTrade_state_desc(String trade_state_desc) { | ||||
| @@ -229,29 +229,29 @@ public class WxMpPayResult implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpPayResult{" + | return "WxMpPayResult{" + | ||||
| "return_code=" + return_code + | |||||
| ", return_msg='" + return_msg + '\'' + | |||||
| ", appid='" + appid + '\'' + | |||||
| ", mch_id='" + mch_id + '\'' + | |||||
| ", nonce_str='" + nonce_str + '\'' + | |||||
| ", sign='" + sign + '\'' + | |||||
| ", result_code='" + result_code + '\'' + | |||||
| ", err_code='" + err_code + '\'' + | |||||
| ", err_code_des='" + err_code_des + '\'' + | |||||
| ", trade_state=" + trade_state + | |||||
| ", trade_state_desc=" + trade_state_desc + | |||||
| ", device_info='" + device_info + '\'' + | |||||
| ", openid='" + openid + '\'' + | |||||
| ", is_subscribe='" + is_subscribe + '\'' + | |||||
| ", trade_type='" + trade_type + '\'' + | |||||
| ", bank_type='" + bank_type + '\'' + | |||||
| ", total_fee='" + total_fee + '\'' + | |||||
| ", coupon_fee='" + coupon_fee + '\'' + | |||||
| ", fee_type='" + fee_type + '\'' + | |||||
| ", transaction_id='" + transaction_id + '\'' + | |||||
| ", out_trade_no='" + out_trade_no + '\'' + | |||||
| ", attach='" + attach + '\'' + | |||||
| ", time_end='" + time_end + '\'' + | |||||
| "return_code=" + this.return_code + | |||||
| ", return_msg='" + this.return_msg + '\'' + | |||||
| ", appid='" + this.appid + '\'' + | |||||
| ", mch_id='" + this.mch_id + '\'' + | |||||
| ", nonce_str='" + this.nonce_str + '\'' + | |||||
| ", sign='" + this.sign + '\'' + | |||||
| ", result_code='" + this.result_code + '\'' + | |||||
| ", err_code='" + this.err_code + '\'' + | |||||
| ", err_code_des='" + this.err_code_des + '\'' + | |||||
| ", trade_state=" + this.trade_state + | |||||
| ", trade_state_desc=" + this.trade_state_desc + | |||||
| ", device_info='" + this.device_info + '\'' + | |||||
| ", openid='" + this.openid + '\'' + | |||||
| ", is_subscribe='" + this.is_subscribe + '\'' + | |||||
| ", trade_type='" + this.trade_type + '\'' + | |||||
| ", bank_type='" + this.bank_type + '\'' + | |||||
| ", total_fee='" + this.total_fee + '\'' + | |||||
| ", coupon_fee='" + this.coupon_fee + '\'' + | |||||
| ", fee_type='" + this.fee_type + '\'' + | |||||
| ", transaction_id='" + this.transaction_id + '\'' + | |||||
| ", out_trade_no='" + this.out_trade_no + '\'' + | |||||
| ", attach='" + this.attach + '\'' + | |||||
| ", time_end='" + this.time_end + '\'' + | |||||
| '}'; | '}'; | ||||
| } | } | ||||
| } | } | ||||
| @@ -27,7 +27,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| private String code_url; | private String code_url; | ||||
| public String getReturn_code() { | public String getReturn_code() { | ||||
| return return_code; | |||||
| return this.return_code; | |||||
| } | } | ||||
| public void setReturn_code(String return_code) { | public void setReturn_code(String return_code) { | ||||
| @@ -35,7 +35,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getReturn_msg() { | public String getReturn_msg() { | ||||
| return return_msg; | |||||
| return this.return_msg; | |||||
| } | } | ||||
| public void setReturn_msg(String return_msg) { | public void setReturn_msg(String return_msg) { | ||||
| @@ -43,7 +43,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | |||||
| return this.appid; | |||||
| } | } | ||||
| public void setAppid(String appid) { | public void setAppid(String appid) { | ||||
| @@ -51,7 +51,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getMch_id() { | public String getMch_id() { | ||||
| return mch_id; | |||||
| return this.mch_id; | |||||
| } | } | ||||
| public void setMch_id(String mch_id) { | public void setMch_id(String mch_id) { | ||||
| @@ -59,7 +59,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getNonce_str() { | public String getNonce_str() { | ||||
| return nonce_str; | |||||
| return this.nonce_str; | |||||
| } | } | ||||
| public void setNonce_str(String nonce_str) { | public void setNonce_str(String nonce_str) { | ||||
| @@ -67,7 +67,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public void setSign(String sign) { | public void setSign(String sign) { | ||||
| @@ -75,7 +75,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getResult_code() { | public String getResult_code() { | ||||
| return result_code; | |||||
| return this.result_code; | |||||
| } | } | ||||
| public void setResult_code(String result_code) { | public void setResult_code(String result_code) { | ||||
| @@ -83,7 +83,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getPrepay_id() { | public String getPrepay_id() { | ||||
| return prepay_id; | |||||
| return this.prepay_id; | |||||
| } | } | ||||
| public void setPrepay_id(String prepay_id) { | public void setPrepay_id(String prepay_id) { | ||||
| @@ -91,7 +91,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getTrade_type() { | public String getTrade_type() { | ||||
| return trade_type; | |||||
| return this.trade_type; | |||||
| } | } | ||||
| public void setTrade_type(String trade_type) { | public void setTrade_type(String trade_type) { | ||||
| @@ -99,7 +99,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getErr_code() { | public String getErr_code() { | ||||
| return err_code; | |||||
| return this.err_code; | |||||
| } | } | ||||
| public void setErr_code(String err_code) { | public void setErr_code(String err_code) { | ||||
| @@ -107,7 +107,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getErr_code_des() { | public String getErr_code_des() { | ||||
| return err_code_des; | |||||
| return this.err_code_des; | |||||
| } | } | ||||
| public void setErr_code_des(String err_code_des) { | public void setErr_code_des(String err_code_des) { | ||||
| @@ -115,7 +115,7 @@ public class WxMpPrepayIdResult implements Serializable { | |||||
| } | } | ||||
| public String getCode_url() { | public String getCode_url() { | ||||
| return code_url; | |||||
| return this.code_url; | |||||
| } | } | ||||
| public void setCode_url(String code_url) { | public void setCode_url(String code_url) { | ||||
| @@ -16,7 +16,7 @@ public class WxMpQrCodeTicket implements Serializable { | |||||
| protected String url; | protected String url; | ||||
| public String getTicket() { | public String getTicket() { | ||||
| return ticket; | |||||
| return this.ticket; | |||||
| } | } | ||||
| public void setTicket(String ticket) { | public void setTicket(String ticket) { | ||||
| @@ -27,7 +27,7 @@ public class WxMpQrCodeTicket implements Serializable { | |||||
| * 如果返回-1说明是永久 | * 如果返回-1说明是永久 | ||||
| */ | */ | ||||
| public int getExpire_seconds() { | public int getExpire_seconds() { | ||||
| return expire_seconds; | |||||
| return this.expire_seconds; | |||||
| } | } | ||||
| public void setExpire_seconds(int expire_seconds) { | public void setExpire_seconds(int expire_seconds) { | ||||
| @@ -35,7 +35,7 @@ public class WxMpQrCodeTicket implements Serializable { | |||||
| } | } | ||||
| public String getUrl() { | public String getUrl() { | ||||
| return url; | |||||
| return this.url; | |||||
| } | } | ||||
| public void setUrl(String url) { | public void setUrl(String url) { | ||||
| @@ -21,7 +21,7 @@ public class WxMpSemanticQueryResult implements Serializable { | |||||
| private String text; | private String text; | ||||
| public String getQuery() { | public String getQuery() { | ||||
| return query; | |||||
| return this.query; | |||||
| } | } | ||||
| public void setQuery(String query) { | public void setQuery(String query) { | ||||
| @@ -29,7 +29,7 @@ public class WxMpSemanticQueryResult implements Serializable { | |||||
| } | } | ||||
| public String getType() { | public String getType() { | ||||
| return type; | |||||
| return this.type; | |||||
| } | } | ||||
| public void setType(String type) { | public void setType(String type) { | ||||
| @@ -37,7 +37,7 @@ public class WxMpSemanticQueryResult implements Serializable { | |||||
| } | } | ||||
| public String getSemantic() { | public String getSemantic() { | ||||
| return semantic; | |||||
| return this.semantic; | |||||
| } | } | ||||
| public void setSemantic(String semantic) { | public void setSemantic(String semantic) { | ||||
| @@ -45,7 +45,7 @@ public class WxMpSemanticQueryResult implements Serializable { | |||||
| } | } | ||||
| public String getResult() { | public String getResult() { | ||||
| return result; | |||||
| return this.result; | |||||
| } | } | ||||
| public void setResult(String result) { | public void setResult(String result) { | ||||
| @@ -53,7 +53,7 @@ public class WxMpSemanticQueryResult implements Serializable { | |||||
| } | } | ||||
| public String getAnswer() { | public String getAnswer() { | ||||
| return answer; | |||||
| return this.answer; | |||||
| } | } | ||||
| public void setAnswer(String answer) { | public void setAnswer(String answer) { | ||||
| @@ -61,7 +61,7 @@ public class WxMpSemanticQueryResult implements Serializable { | |||||
| } | } | ||||
| public String getText() { | public String getText() { | ||||
| return text; | |||||
| return this.text; | |||||
| } | } | ||||
| public void setText(String text) { | public void setText(String text) { | ||||
| @@ -37,70 +37,70 @@ public class WxMpUser implements Serializable { | |||||
| protected Integer groupId; | protected Integer groupId; | ||||
| public Boolean getSubscribe() { | public Boolean getSubscribe() { | ||||
| return subscribe; | |||||
| return this.subscribe; | |||||
| } | } | ||||
| public Boolean isSubscribe() { | public Boolean isSubscribe() { | ||||
| return subscribe; | |||||
| return this.subscribe; | |||||
| } | } | ||||
| public void setSubscribe(Boolean subscribe) { | public void setSubscribe(Boolean subscribe) { | ||||
| this.subscribe = subscribe; | this.subscribe = subscribe; | ||||
| } | } | ||||
| public String getOpenId() { | public String getOpenId() { | ||||
| return openId; | |||||
| return this.openId; | |||||
| } | } | ||||
| public void setOpenId(String openId) { | public void setOpenId(String openId) { | ||||
| this.openId = openId; | this.openId = openId; | ||||
| } | } | ||||
| public String getNickname() { | public String getNickname() { | ||||
| return nickname; | |||||
| return this.nickname; | |||||
| } | } | ||||
| public void setNickname(String nickname) { | public void setNickname(String nickname) { | ||||
| this.nickname = nickname; | this.nickname = nickname; | ||||
| } | } | ||||
| public String getSex() { | public String getSex() { | ||||
| return sex; | |||||
| return this.sex; | |||||
| } | } | ||||
| public void setSex(String sex) { | public void setSex(String sex) { | ||||
| this.sex = sex; | this.sex = sex; | ||||
| } | } | ||||
| public String getLanguage() { | public String getLanguage() { | ||||
| return language; | |||||
| return this.language; | |||||
| } | } | ||||
| public void setLanguage(String language) { | public void setLanguage(String language) { | ||||
| this.language = language; | this.language = language; | ||||
| } | } | ||||
| public String getCity() { | public String getCity() { | ||||
| return city; | |||||
| return this.city; | |||||
| } | } | ||||
| public void setCity(String city) { | public void setCity(String city) { | ||||
| this.city = city; | this.city = city; | ||||
| } | } | ||||
| public String getProvince() { | public String getProvince() { | ||||
| return province; | |||||
| return this.province; | |||||
| } | } | ||||
| public void setProvince(String province) { | public void setProvince(String province) { | ||||
| this.province = province; | this.province = province; | ||||
| } | } | ||||
| public String getCountry() { | public String getCountry() { | ||||
| return country; | |||||
| return this.country; | |||||
| } | } | ||||
| public void setCountry(String country) { | public void setCountry(String country) { | ||||
| this.country = country; | this.country = country; | ||||
| } | } | ||||
| public String getHeadImgUrl() { | public String getHeadImgUrl() { | ||||
| return headImgUrl; | |||||
| return this.headImgUrl; | |||||
| } | } | ||||
| public void setHeadImgUrl(String headImgUrl) { | public void setHeadImgUrl(String headImgUrl) { | ||||
| this.headImgUrl = headImgUrl; | this.headImgUrl = headImgUrl; | ||||
| } | } | ||||
| public Long getSubscribeTime() { | public Long getSubscribeTime() { | ||||
| return subscribeTime; | |||||
| return this.subscribeTime; | |||||
| } | } | ||||
| public void setSubscribeTime(Long subscribeTime) { | public void setSubscribeTime(Long subscribeTime) { | ||||
| this.subscribeTime = subscribeTime; | this.subscribeTime = subscribeTime; | ||||
| } | } | ||||
| public String getUnionId() { | public String getUnionId() { | ||||
| return unionId; | |||||
| return this.unionId; | |||||
| } | } | ||||
| public void setUnionId(String unionId) { | public void setUnionId(String unionId) { | ||||
| this.unionId = unionId; | this.unionId = unionId; | ||||
| @@ -108,7 +108,7 @@ public class WxMpUser implements Serializable { | |||||
| public Integer getSexId() { | public Integer getSexId() { | ||||
| return sexId; | |||||
| return this.sexId; | |||||
| } | } | ||||
| public void setSexId(Integer sexId) { | public void setSexId(Integer sexId) { | ||||
| @@ -116,13 +116,13 @@ public class WxMpUser implements Serializable { | |||||
| } | } | ||||
| public String getRemark() { | public String getRemark() { | ||||
| return remark; | |||||
| return this.remark; | |||||
| } | } | ||||
| public void setRemark(String remark) { | public void setRemark(String remark) { | ||||
| this.remark = remark; | this.remark = remark; | ||||
| } | } | ||||
| public Integer getGroupId() { | public Integer getGroupId() { | ||||
| return groupId; | |||||
| return this.groupId; | |||||
| } | } | ||||
| public void setGroupId(Integer groupId) { | public void setGroupId(Integer groupId) { | ||||
| this.groupId = groupId; | this.groupId = groupId; | ||||
| @@ -142,19 +142,19 @@ public class WxMpUser implements Serializable { | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxMpUser{" + | return "WxMpUser{" + | ||||
| "subscribe=" + subscribe + | |||||
| ", openId='" + openId + '\'' + | |||||
| ", nickname='" + nickname + '\'' + | |||||
| ", sex='" + sex + '\'' + | |||||
| ", language='" + language + '\'' + | |||||
| ", city='" + city + '\'' + | |||||
| ", province='" + province + '\'' + | |||||
| ", country='" + country + '\'' + | |||||
| ", headImgUrl='" + headImgUrl + '\'' + | |||||
| ", subscribeTime=" + subscribeTime + | |||||
| ", unionId='" + unionId + '\'' + | |||||
| ", remark='" + remark + '\'' + | |||||
| ", groupId='" + groupId + '\'' + | |||||
| "subscribe=" + this.subscribe + | |||||
| ", openId='" + this.openId + '\'' + | |||||
| ", nickname='" + this.nickname + '\'' + | |||||
| ", sex='" + this.sex + '\'' + | |||||
| ", language='" + this.language + '\'' + | |||||
| ", city='" + this.city + '\'' + | |||||
| ", province='" + this.province + '\'' + | |||||
| ", country='" + this.country + '\'' + | |||||
| ", headImgUrl='" + this.headImgUrl + '\'' + | |||||
| ", subscribeTime=" + this.subscribeTime + | |||||
| ", unionId='" + this.unionId + '\'' + | |||||
| ", remark='" + this.remark + '\'' + | |||||
| ", groupId='" + this.groupId + '\'' + | |||||
| '}'; | '}'; | ||||
| } | } | ||||
| } | } | ||||
| @@ -17,25 +17,25 @@ public class WxMpUserList { | |||||
| protected List<String> openIds = new ArrayList<String>(); | protected List<String> openIds = new ArrayList<String>(); | ||||
| protected String nextOpenId; | protected String nextOpenId; | ||||
| public int getTotal() { | public int getTotal() { | ||||
| return total; | |||||
| return this.total; | |||||
| } | } | ||||
| public void setTotal(int total) { | public void setTotal(int total) { | ||||
| this.total = total; | this.total = total; | ||||
| } | } | ||||
| public int getCount() { | public int getCount() { | ||||
| return count; | |||||
| return this.count; | |||||
| } | } | ||||
| public void setCount(int count) { | public void setCount(int count) { | ||||
| this.count = count; | this.count = count; | ||||
| } | } | ||||
| public List<String> getOpenIds() { | public List<String> getOpenIds() { | ||||
| return openIds; | |||||
| return this.openIds; | |||||
| } | } | ||||
| public void setOpenIds(List<String> openIds) { | public void setOpenIds(List<String> openIds) { | ||||
| this.openIds = openIds; | this.openIds = openIds; | ||||
| } | } | ||||
| public String getNextOpenId() { | public String getNextOpenId() { | ||||
| return nextOpenId; | |||||
| return this.nextOpenId; | |||||
| } | } | ||||
| public void setNextOpenId(String nextOpenId) { | public void setNextOpenId(String nextOpenId) { | ||||
| this.nextOpenId = nextOpenId; | this.nextOpenId = nextOpenId; | ||||
| @@ -47,72 +47,72 @@ public class WxRedpackResult implements Serializable { | |||||
| String sendListid; | String sendListid; | ||||
| public String getErrCode() { | public String getErrCode() { | ||||
| return errCode; | |||||
| return this.errCode; | |||||
| } | } | ||||
| public String getErrCodeDes() { | public String getErrCodeDes() { | ||||
| return errCodeDes; | |||||
| return this.errCodeDes; | |||||
| } | } | ||||
| public String getReturnCode() { | public String getReturnCode() { | ||||
| return returnCode; | |||||
| return this.returnCode; | |||||
| } | } | ||||
| public String getReturnMsg() { | public String getReturnMsg() { | ||||
| return returnMsg; | |||||
| return this.returnMsg; | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public String getResultCode() { | public String getResultCode() { | ||||
| return resultCode; | |||||
| return this.resultCode; | |||||
| } | } | ||||
| public String getMchBillno() { | public String getMchBillno() { | ||||
| return mchBillno; | |||||
| return this.mchBillno; | |||||
| } | } | ||||
| public String getMchId() { | public String getMchId() { | ||||
| return mchId; | |||||
| return this.mchId; | |||||
| } | } | ||||
| public String getWxappid() { | public String getWxappid() { | ||||
| return wxappid; | |||||
| return this.wxappid; | |||||
| } | } | ||||
| public String getReOpenid() { | public String getReOpenid() { | ||||
| return reOpenid; | |||||
| return this.reOpenid; | |||||
| } | } | ||||
| public int getTotalAmount() { | public int getTotalAmount() { | ||||
| return totalAmount; | |||||
| return this.totalAmount; | |||||
| } | } | ||||
| public String getSendTime() { | public String getSendTime() { | ||||
| return sendTime; | |||||
| return this.sendTime; | |||||
| } | } | ||||
| public String getSendListid() { | public String getSendListid() { | ||||
| return sendListid; | |||||
| return this.sendListid; | |||||
| } | } | ||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return "WxRedpackResult{" + | return "WxRedpackResult{" + | ||||
| "returnCode=" + returnCode + | |||||
| ", returnMsg=" + returnMsg + | |||||
| ", sign=" + sign + | |||||
| ", errCode=" + errCode + | |||||
| ", errCodeDes=" + errCodeDes + | |||||
| ", mchBillno=" + mchBillno + | |||||
| ", mchId=" + mchId + | |||||
| ", wxappid=" + wxappid + | |||||
| ", reOpenid=" + reOpenid + | |||||
| ", totalAmount=" + totalAmount + | |||||
| ", sendTime=" + sendTime + | |||||
| ", sendListid=" + sendListid + | |||||
| "returnCode=" + this.returnCode + | |||||
| ", returnMsg=" + this.returnMsg + | |||||
| ", sign=" + this.sign + | |||||
| ", errCode=" + this.errCode + | |||||
| ", errCodeDes=" + this.errCodeDes + | |||||
| ", mchBillno=" + this.mchBillno + | |||||
| ", mchId=" + this.mchId + | |||||
| ", wxappid=" + this.wxappid + | |||||
| ", reOpenid=" + this.reOpenid + | |||||
| ", totalAmount=" + this.totalAmount + | |||||
| ", sendTime=" + this.sendTime + | |||||
| ", sendListid=" + this.sendListid + | |||||
| '}'; | '}'; | ||||
| } | } | ||||
| } | } | ||||