123456789101112131415161718192021222324252627 |
- import {
- http
- } from '@/utils/http';
- import ENV from '@/config/env.js';
- /**
- * @description 用户登录
- * @param {object} data
- */
- export function login(data) {
- return http.post(ENV.VUE_APP_FileServer + `?MethodName=login_control-Login`, data);
- }
- /**
- * @description 校验用户是否登录(是否有效用户)
- */
- export function loginControlIsEffectiveUser() {
- return http.post(ENV.VUE_APP_FileServer + `?MethodName=login_control-Is_Effective_User`);
- }
- /**
- * @description 得到我的用户信息
- */
- export function GetMyUserInfo() {
- return http.post(ENV.VUE_APP_FileServer + `?MethodName=user_manager-GetMyUserInfo`);
- }
|