import {post, upload} from "../utils/request"; // 已重构接口 export const getUserInfoV1 = (params) => post("/app/sys/user/getXgfUserInfo", params) // 获取用户信息 export const setUserInitV1 = (params) => post("/app/sys/user/xgfInit", params) //更新用户信息 export const getDicLevel = (params) => post("/app/sys/dictionaries/getLevels", params) // 获取数据字典 export const getEmpLog = (params) => post("/app/sys/user/getEmpLog", params) // 获取就职记录 export const uploadFile = (params) => upload("/app/sys/file/uploadFile", params); export const setRefreshToken = (params) => post("/sys/refreshToken", params ); // 刷新token export const setEntryV1 = (params) => post("/app/sys/user/entry", params ); // 入职 export const resignV1 = (params) => post("/app/sys/user/resign", params ); // 离职