zhengyiming
4 天以前 dbebb8c83128e379bb24d8d7c1bf0838d7c5ebdc
src/services/api/User.ts
@@ -34,7 +34,7 @@
/** 批量创建认证用户 POST /api/User/BatchCreateCompanyUser */
export async function batchCreateCompanyUser(
  body: API.AddCertifiedUserInput[],
  body: API.BatchCreateCompanyUserV3Input,
  options?: API.RequestConfig
) {
  return request<string[]>('/api/User/BatchCreateCompanyUser', {
@@ -302,6 +302,20 @@
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取江佑保用户信息 GET /api/User/GetJybUserInfo/${param0} */
export async function getJybUserInfoId(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetJybUserInfoIdParams,
  options?: API.RequestConfig
) {
  const { id: param0, ...queryParams } = params;
  return request<API.JybUserInfoDto>(`/api/User/GetJybUserInfo/${param0}`, {
    method: 'GET',
    params: { ...queryParams },
    ...(options || {}),
  });
}
@@ -770,6 +784,21 @@
  });
}
/** 设置企业合作协议 POST /api/User/SetUserEnterpiseCooperationUrl */
export async function setUserEnterpiseCooperationUrl(
  body: API.SetUserEnterpiseCooperationUrlInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/User/SetUserEnterpiseCooperationUrl', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 取关用户 POST /api/User/UnFollowUser */
export async function unFollowUser(body: API.UnFollowUserInput, options?: API.RequestConfig) {
  return request<number>('/api/User/UnFollowUser', {