const { http } = uni.$u console.info(http) // 获取菜单 export const fetchMenu = (params, config = {}) => http.post('/ebapi/public_api/index', params, config) /** * 登录的接口 */ // 微信登录接口 export const wxLogin = (params) => http.get('/api/login/login', {params:params})