From 28e7e454b90a7a10af701f340bc4926b8d83dcb6 Mon Sep 17 00:00:00 2001 From: aimilin6688 Date: Wed, 14 Dec 2016 11:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=94=AF=E4=BB=98=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=A1=E6=81=AF=E4=B8=8D=E8=83=BD=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E8=AE=BE=E7=BD=AEBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java b/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java index 84655a86a..875d4e4eb 100644 --- a/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java +++ b/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java @@ -73,17 +73,13 @@ public class WxMpPayServiceImpl implements WxMpPayService { "REFUND_SOURCE_UNSETTLED_FUNDS"}; protected final Logger log = LoggerFactory.getLogger(this.getClass()); private WxMpService wxMpService; - private WxMpConfigStorage config = null; public WxMpPayServiceImpl(WxMpService wxMpService) { this.wxMpService = wxMpService; } private WxMpConfigStorage getConfig(){ - if(config == null){ - this.config = wxMpService.getWxMpConfigStorage(); - } - return this.config; + return wxMpService.getWxMpConfigStorage(); } @Override