zhengyiming
5 天以前 7907276fcff72f2f1bbad2a75cd93b1dd6651529
src/services/api/User.ts
@@ -41,6 +41,18 @@
  });
}
/** 创建临时访问令牌 POST /api/User/CreateTempToken */
export async function createTempToken(body: API.CreateTempTokenInput, options?: API.RequestConfig) {
  return request<string>('/api/User/CreateTempToken', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 POST /api/User/DeleteRole */
export async function deleteRole(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
@@ -96,6 +108,18 @@
  });
}
/** 获取全部用户下拉列表 POST /api/User/GetUserAllList */
export async function getUserAllList(body: API.QueryUserPageInput, options?: API.RequestConfig) {
  return request<API.UserListOutput[]>('/api/User/GetUserAllList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取客户余额信息 GET /api/User/GetUserAmountShow */
export async function getUserAmountShow(options?: API.RequestConfig) {
  return request<API.UserAmountShowDto>('/api/User/GetUserAmountShow', {