/*
 * @Author: 半生瓜 1515706227@qq.com
 * @Date: 2024-05-07 10:39:27
 * @LastEditors: 半生瓜 1515706227@qq.com
 * @LastEditTime: 2024-05-13 19:00:35
 * @FilePath: \vue-element-plus-admin-mini\src\api\table\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/axios'

//用户分页接口
export const getUser = (params: any) => {
  params.page = params.page - 1
  return request.post({ url: '/user/manage/pageQuery', params })
}
//用户分页接口
export const saveUser = (params: any) => {
  return request.post({ url: '/user/manage/save', data: params })
}
//删除用户接口
export const deleteUser = (params: any) => {
  return request.post({ url: '/user/manage/delete', params })
}
//用户详情接口
export const getUserDetail = (params: any) => {
  return request.post({ url: '/user/manage/detail', params })
}
