调整:优化代码
This commit is contained in:
@@ -15,14 +15,14 @@ public class WxService {
|
|||||||
private WxMaService wxMaService;
|
private WxMaService wxMaService;
|
||||||
|
|
||||||
private WxMpService wxMpService;
|
private WxMpService wxMpService;
|
||||||
private WxMaService getWxMaService() {
|
public WxMaService getWxMaService() {
|
||||||
if (ObjUtil.isNotEmpty(wxMaService)) {
|
if (ObjUtil.isNotEmpty(wxMaService)) {
|
||||||
return wxMaService;
|
return wxMaService;
|
||||||
}
|
}
|
||||||
wxMaService = (WxMaService)CoolPluginInvokers.invoke("wx", "getWxMaService");
|
wxMaService = (WxMaService)CoolPluginInvokers.invoke("wx", "getWxMaService");
|
||||||
return wxMaService;
|
return wxMaService;
|
||||||
}
|
}
|
||||||
private WxMpService getWxMpService() {
|
public WxMpService getWxMpService() {
|
||||||
if (ObjUtil.isNotEmpty(wxMpService)) {
|
if (ObjUtil.isNotEmpty(wxMpService)) {
|
||||||
return wxMpService;
|
return wxMpService;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user