Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
修复支付配置信息不能重复设置BUG
  • Loading branch information
aimilin6688 committed Dec 14, 2016
commit 28e7e454b90a7a10af701f340bc4926b8d83dcb6
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down