/* * @Description: * @Autor: renchao * @LastEditTime: 2023-03-23 13:17:59 */ import request from '@/utils/request' // let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) console.log(JSON.parse(localStorage.getItem('ApiUrl'))); // 获取用户信息 export function getUserInfo () { return request({ url: SERVER.SERVERAPI + '/rest/user/getUserInfo', method: 'get', }) } // 获取菜单信息 export function getMenuInfo (data) { return request({ url: SERVER.SERVERAPI + '/rest/user/getUserAuthorizationMenus', method: 'get', params: { productCode: data, }, }) }