mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-30 01:58:23 +08:00
修复config不能指定Bug
This commit is contained in:
@ -48,17 +48,13 @@ public class WxMpPayServiceImpl implements WxMpPayService {
|
||||
"REFUND_SOURCE_UNSETTLED_FUNDS"};
|
||||
private 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