UNPKG

xlb-main-login

Version:

``` yarn install ```

89 lines (57 loc) 3.27 kB
export const ERR_OK = 200 // 基础域名 export const host_api = process.env.VUE_APP_API_ROOT //默认接口调用的API主域名 export const default_host = process.env.VUE_APP_API_ROOT //默认页面跳转的主域名 export const default_url = process.env.VUE_APP_API_URL //默认页面跳转的图片 export const default_img = process.env.VUE_APP_IMG_URL // 聊天记录界面文件下载 export const default_file = process.env.VUE_APP_FILE_URL //操作文档地址 export const default_instructions = 'https://www.xiaoliebian.com/file/' //默认的api地址 export const default_api = default_host + '/api' // export const default_api = default_host; // 基础的api地址 export const default_host_api = host_api + '/api' export const default_prize = default_url + '/web/xlb_form.html' //默认登录页· export const default_login_url = default_url + '/#/login' export const default_login_wechat = default_url + '/#/wechatwx' export const locality = default_host + '/api/demo-distribution' export const brand = default_host + '/api/wecom/common' export const localitys = default_api export const auth_url = default_host + '/api/demo-user-role/oauth' // 权限接口 // export const weichat = default_host + "/api/demo-wechat-work/"; // 企业微信接口 export const weichat = default_host + '/api/demo-wechat-work/' // 企业微信接口 export const weichat2 = default_host + '/api/demo-wechat-work/' // 企业微信接口 export const role_url = default_host + '/api/demo-user-role' // 企业微信接口 export const weihomeURL = process.env.API_URL + '/' export const dis_url = default_api //分销接口 export const wei_url = default_api //公众号接口 export const img_url = default_api //图片地址 export const modal_url = default_api //模块管理 export const draw_url = default_api //模块管理 export const img_url_b = default_img + '/img/' //图片地址 export const excel_url = default_img + '/excel/' //excel导出 export const activity_url = default_host + '/api/demo-operation' //海报管理 export const wechat_url = default_host + '/api/demo-wechat-work' //海报管理 // export const wechat_url = default_host; //海报管理 export const tuling_img = img_url_b //模块管理 export const ceategern = ['18551985509', 'test003'] export const nochenyuan = ['test003','13337154366', '18510979717', '18513193029', '18612859652', 'BHYB0529'] export const ismock = 0 //判断是否开启mock.js 0:不开启 1:开启 export const monichengtuan = ['15668039858', 'test003'] //拼团多动默认成团 export const qiweichegnyuan = ['test003'] export const iszero = ['test003'] //无效 export const getoldaccount = ['18551985509'] //判断老账号 export const getoldtented = ['19878405740'] //判断腾讯账号 export const getoldInfo = ['15626125505'] //隐藏部分老系统功能 //判断是小裂变还是图灵 export const getapplist = 1 //1:小裂变 2:图灵 // qqMap Key:PPMBZ-7XHCD-6VB4D-HY7DJ-5YIF2-CAFXE;应用名称:域名; export const QQMapKey = 'PPMBZ-7XHCD-6VB4D-HY7DJ-5YIF2-CAFXE' // qqMap脚本地址 export const QQMapScriptUrl = `https://map.qq.com/api/js?v=2.exp&key=${QQMapKey}`