api.js 680 Bytes
// import store from '@/store'

// const MOCK_CONFIG_URL = 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config';
// const env = process.env.NODE_ENV;

const API = {
    getMockConfig() {
        return '/e_sheild_config';
    },
    LOGIN_CAPTCHA: '/usercenter/captcha', // 非接口,直接url可展示验证码
    LOGIN_ACTION: '/usercenter/login', // 登录接口
    MENU_TREE_ACTION: '/usercenter/menu/permtree', // 用户登录成功后拉取权限菜单
    MENU_AUTH: '/usercenter/menu/subtree',
    CHANGE_PWD: '/usercenter/user/changePassword',
    PERMISSION_LIST:'/usercenter/menu/getInfoByPermissionTag',  // 查询权限
}

export {
    API
}