/**
   * 账户更新
   *
   * @param accountInfo
   * @return
   * @throws ApiException
   */
  public AccountInfoType updateAccount(AccountInfoType accountInfo) throws ApiException {
    if (accountInfo == null) return null;

    AccountInfoType accountInfoType = null;

    UpdateAccountInfoRequest request = new UpdateAccountInfoRequest();
    request.setAccountInfoType(accountInfo);

    AccountService accountService = commonService.getService(AccountService.class);
    UpdateAccountInfoResponse response = accountService.updateAccountInfo(request);
    if (response != null) accountInfoType = response.getAccountInfoType();

    return accountInfoType;
  }