api.js
506 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', // 用户登录成功后拉取权限菜单
}
export {
API
}