import { httpAxios, httpAxiosNoNprogress, httpAxios_gym, httpAxios_gyt } from "@/api/ApiInstance" /** 获取二维码 */ export const createQrcodeApi = () => { return httpAxios.axioseRquest({ method: "get", url: "/open/qrcode/create" }) } /** 查询二维码状态 */ export const queryQrcodeStatusApi = (uuid: string) => { return httpAxiosNoNprogress.axioseRquest({ method: "get", url: "/open/qrcode/query/" + uuid }) } /** 获取字典 */ export const getDictionary = (key: string) => { return httpAxios.axioseRquest({ method: "get", url: "/api/v1/dictitem/getByValue", params: { value: key } }) } /** 管乐迷 */ //获取用户信息 export const queryUserInfo_gym = () => { return httpAxios_gym.axioseRquest({ method: "get", url: "/api-teacher/teacher/queryUserInfo" }) } // 退出登录 export const logout_gym = () => { return httpAxios_gym.axioseRquest({ method: "get", url: "/api-auth/exit", headers: { "Content-Type": "x-www-form-urlencoded" } }) } /** 管乐团*/ // 获取用户信息 export const getUserInfo_gyt = () => { return httpAxios_gyt.axioseRquest({ method: "get", url: "/api-teacher/user/getUserInfo" }) } // 退出登录 export const logout_gyt = () => { return httpAxios_gyt.axioseRquest({ method: "get", url: "/api-teacher/user/logout" }) }