aimilin6688 преди 8 години
родител
ревизия
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


Зареждане…
Отказ
Запис