| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | import $app from './app';import PagesJSON from "@/pages.json";  const config = {};// 地址类config.url = {	// API请求基础URL	request : 'https://charge.hub.zswlgz.com/',	// request : 'http://172.16.0.88:8081/',	// request : 'http://120.78.228.211:8866/',	// 上传地址	upload : 'http://127.0.0.1:3000/upload/',	// 下载地址	download : 'http://oss.aabb.com/download/',	// 静态文件服务	static : 'http://oss.aabb.com/',	//配置文件地址	configUrl : 'http://bx.eomp.cn/adp/',}// 接口类config.api = {	login: '/userApi/login'}// 键名类config.keyname = {	userInfo: 'USER_INFO',	userToken: 'USER_TOKEN',	logs: 'LOGS_DATA',}// 事件名config.eventName = {	setResult: 'SET-HOME-RESULT',}// 客服config.customerService = {	id: 'wwfb3777bf94dcfaf1',	url: 'https://work.weixin.qq.com/kfid/kfc4feac060f5c1bc7e'}// pages.json 页面配置文件config.pages = PagesJSON.pages.map(i=>{	i.style = {...PagesJSON.globalStyle,...i.style};	return i;});// 不同版本执行器$app.sys.envVersion({	// 正式版	release:()=>{},	// 体验版	trial:()=>{},	// 开发版	develop:()=>{}});export default config;
 |