mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-11-03 21:59:05 +08:00
修复支付配置信息不能重复设置BUG
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user