zhengyiming
2025-06-16 2caafed814dbbaf0905e77db91ed7835d8d854d9
src/services/api/Account.ts
@@ -131,6 +131,18 @@
  });
}
/** 创建临时访问令牌 POST /api/Account/CreateTempToken */
export async function createTempToken(body: API.CreateTempTokenInput, options?: API.RequestConfig) {
  return request<string>('/api/Account/CreateTempToken', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 管理员创建用户 POST /api/Account/CreateUserForAdmin */
export async function createUserForAdmin(
  body: API.CreateUserForAdminInput,
@@ -341,6 +353,18 @@
  });
}
/** 政务端一系统配置一重置密码 POST /api/Account/ResetPassword */
export async function resetPassword(body: API.ResetPasswordBaseInput, options?: API.RequestConfig) {
  return request<number>('/api/Account/ResetPassword', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 重置密码并发送手机通知新密码 POST /api/Account/ResetPasswordWithMicroNotify */
export async function resetPasswordWithMicroNotify(
  body: API.ResetPasswordBaseInput,
@@ -536,7 +560,7 @@
}
/** 此处后端没有提供注释 POST /api/accountAuth/ResetPassword */
export async function resetPassword(body: API.ResetPasswordDto, options?: API.RequestConfig) {
export async function resetPassword_2(body: API.ResetPasswordDto, options?: API.RequestConfig) {
  return request<any>('/api/accountAuth/ResetPassword', {
    method: 'POST',
    headers: {