class WxMaAnalysisServiceImpl implements WxMaAnalysisService {

  @Override
  public WxMaUserPortrait getUserPortrait(Date beginDate, Date endDate) throws WxErrorException {
    String responseContent = this.wxMaService.post(GET_USER_PORTRAIT_URL, toJson(beginDate, endDate));
    return WxMaUserPortrait.fromJson(responseContent);
  }

  public  WxMaAnalysisServiceImpl(WxMaService wxMaService);

}