|
@@ -48,17 +48,13 @@ public class WxMpPayServiceImpl implements WxMpPayService { |
|
|
"REFUND_SOURCE_UNSETTLED_FUNDS"}; |
|
|
"REFUND_SOURCE_UNSETTLED_FUNDS"}; |
|
|
private final Logger log = LoggerFactory.getLogger(this.getClass()); |
|
|
private final Logger log = LoggerFactory.getLogger(this.getClass()); |
|
|
private WxMpService wxMpService; |
|
|
private WxMpService wxMpService; |
|
|
private WxMpConfigStorage config = null; |
|
|
|
|
|
|
|
|
|
|
|
public WxMpPayServiceImpl(WxMpService wxMpService) { |
|
|
public WxMpPayServiceImpl(WxMpService wxMpService) { |
|
|
this.wxMpService = wxMpService; |
|
|
this.wxMpService = wxMpService; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private WxMpConfigStorage getConfig() { |
|
|
private WxMpConfigStorage getConfig() { |
|
|
if (config == null) { |
|
|
|
|
|
this.config = wxMpService.getWxMpConfigStorage(); |
|
|
|
|
|
} |
|
|
|
|
|
return this.config; |
|
|
|
|
|
|
|
|
return wxMpService.getWxMpConfigStorage(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|