auth.js 233 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 import { fn, fetch } from '@/api/fn'; const Api = { AUTH_INFO: '/srv/?a=openid_has', } /** * @description: 获取用户授权信息 * @param {*} * @returns */ export const getAuthInfoAPI = () => fn(fetch.get(Api.AUTH_INFO));