import { http } from '@/util'

const base = "/system/user/";

export const page = (params)=>http.get(base+"list",{params,custom:{returnData:false}})
export const get = (id)=>http.get(base+id)

export const searchUser = (id)=>http.get(base+"search/"+id)
export const searchUsers = (params)=>http.get(base+"search",{params})