aimilin6688 8 лет назад
Родитель
Сommit
d18e11cc4e
1 измененных файлов: 5 добавлений и 1 удалений
  1. +5
    -1
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java

+ 5
- 1
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java Просмотреть файл

@@ -73,13 +73,17 @@ 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(){
return wxMpService.getWxMpConfigStorage();
if(config == null){
this.config = wxMpService.getWxMpConfigStorage();
}
return this.config;
}

@Override


Загрузка…
Отмена
Сохранить