import { http } from '@/utils/http';

/**
 * @description 用户登录
 * @param {object} data
 */
export function login(data) {
  return http.post(`${process.env.VUE_APP_FileServer}?MethodName=login_control-Login`, data);
}

/**
 * 获取用户信息
 */
export function GetMyUserInfo(data) {
  return http.post(`${process.env.VUE_APP_FileServer}?MethodName=user_manager-GetMyUserInfo`, data);
}
