mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-11-01 20:13:12 +08:00
回复版本
This commit is contained in:
@ -73,13 +73,17 @@ public class WxMpPayServiceImpl implements WxMpPayService {
|
|||||||
"REFUND_SOURCE_UNSETTLED_FUNDS"};
|
"REFUND_SOURCE_UNSETTLED_FUNDS"};
|
||||||
protected final Logger log = LoggerFactory.getLogger(this.getClass());
|
protected 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(){
|
||||||
return wxMpService.getWxMpConfigStorage();
|
if(config == null){
|
||||||
|
this.config = wxMpService.getWxMpConfigStorage();
|
||||||
|
}
|
||||||
|
return this.config;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user