@Test public void testSetWebViewDomain() throws Exception { WxMaDomainAction domainAction = wxService.getSettingService().setWebViewDomain(WxMaDomainAction .builder() .action("get") .build()); System.out.println(domainAction); }
@Override public WxMaDomainAction setWebViewDomain(WxMaDomainAction domainAction) throws WxErrorException { String responseContent = this.wxMaService.post(SET_WEB_VIEW_DOMAIN_URL, domainAction.toJson()); return WxMaDomainAction.fromJson(responseContent); }
WxMaSettingServiceImpl implements WxMaSettingService { @Override public WxMaDomainAction setWebViewDomain(WxMaDomainAction domainAction) throws WxErrorException { String responseContent = this.wxMaService.post(SET_WEB_VIEW_DOMAIN_URL, domainAction.toJson()); return WxMaDomainAction.fromJson(responseContent); } }
WxMaSettingServiceImpl implements WxMaSettingService { @Override public WxMaDomainAction setWebViewDomain(WxMaDomainAction domainAction) throws WxErrorException { String responseContent = this.wxMaService.post(SET_WEB_VIEW_DOMAIN_URL, domainAction.toJson()); return WxMaDomainAction.fromJson(responseContent); } WxMaSettingServiceImpl(WxMaService wxMaService); }
WxMaSettingServiceImpl implements WxMaSettingService { @Override public WxMaDomainAction setWebViewDomain(WxMaDomainAction domainAction) throws WxErrorException { String responseContent = this.wxMaService.post(SET_WEB_VIEW_DOMAIN_URL, domainAction.toJson()); return WxMaDomainAction.fromJson(responseContent); } WxMaSettingServiceImpl(WxMaService wxMaService); @Override WxMaDomainAction modifyDomain(WxMaDomainAction domainAction); @Override WxMaDomainAction setWebViewDomain(WxMaDomainAction domainAction); @Override void bindTester(String wechatId); @Override void unbindTester(String wechatId); }
WxMaSettingServiceImpl implements WxMaSettingService { @Override public WxMaDomainAction setWebViewDomain(WxMaDomainAction domainAction) throws WxErrorException { String responseContent = this.wxMaService.post(SET_WEB_VIEW_DOMAIN_URL, domainAction.toJson()); return WxMaDomainAction.fromJson(responseContent); } WxMaSettingServiceImpl(WxMaService wxMaService); @Override WxMaDomainAction modifyDomain(WxMaDomainAction domainAction); @Override WxMaDomainAction setWebViewDomain(WxMaDomainAction domainAction); @Override void bindTester(String wechatId); @Override void unbindTester(String wechatId);  }