wupengfei
5 天以前 bb9dac08d11f4e90c355e08ba6ffdfd0f9303d31
src/services/api/enterpriseWallet.ts
@@ -295,6 +295,116 @@
  );
}
/** 查询企业微信支付钱包详情 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWallet */
export async function getEnterpriseWeChatPayWallet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseWeChatPayWalletParams,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseWeChatPayWalletQueryResult>(
    '/api/user/enterpriseWallet/getEnterpriseWeChatPayWallet',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 查询企业微信钱包地区 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletAreas */
export async function getEnterpriseWeChatPayWalletAreas(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseWeChatPayWalletAreasParams,
  options?: API.RequestConfig
) {
  return request<API.WeChatPayArea[]>(
    '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletAreas',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 查询企业微信支付钱包支行分页列表 POST /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankBranches */
export async function getEnterpriseWeChatPayWalletBankBranches(
  body: API.GetEnterpriseWeChatPayWalletBankBranchesQuery,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseWeChatPayWalletBankBranchesQueryResult>(
    '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankBranches',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
/** 查询企业微信支付钱包银行城市列表 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankCities */
export async function getEnterpriseWeChatPayWalletBankCities(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseWeChatPayWalletBankCitiesParams,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseWeChatPayWalletBankCitiesQueryItem[]>(
    '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankCities',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 查询企业微信支付钱包银行省份列表 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankProvinces */
export async function getEnterpriseWeChatPayWalletBankProvinces(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseWeChatPayWalletBankProvincesParams,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseWeChatPayWalletBankProvincesQueryItem[]>(
    '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankProvinces',
    {
      method: 'GET',
      params: {
        ...params,
        request: undefined,
        ...params['request'],
      },
      ...(options || {}),
    }
  );
}
/** 查询企业微信支付钱包银行分页列表 POST /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBanks */
export async function getEnterpriseWeChatPayWalletBanks(
  body: API.GetEnterpriseWeChatPayWalletBanksQuery,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseWeChatPayWalletBanksQueryResult>(
    '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBanks',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
/** 开通企业钱包 POST /api/user/enterpriseWallet/openEnterpriseWallet */
export async function openEnterpriseWallet(
  body: API.OpenEnterpriseWalletCommand,
@@ -313,6 +423,24 @@
  );
}
/** 开通企业微信钱包 POST /api/user/enterpriseWallet/openEnterpriseWeChatPayWallet */
export async function openEnterpriseWeChatPayWallet(
  body: API.OpenEnterpriseWeChatPayWalletCommand,
  options?: API.RequestConfig
) {
  return request<API.OpenEnterpriseWeChatPayWalletCommandResult>(
    '/api/user/enterpriseWallet/openEnterpriseWeChatPayWallet',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
/** 企业钱包充值 POST /api/user/enterpriseWallet/rechargeEnterpriseWallet */
export async function rechargeEnterpriseWallet(
  body: API.RechargeEnterpriseWalletCommand,