{ "name" : "apph5", "appid" : "__UNI__D4151F8", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { "usingComponents" : true, "nvueStyleCompiler" : "uni-app", "compilerVersion" : 3, "splashscreen" : { "alwaysShowBeforeRender" : true, "waiting" : true, "autoclose" : true, "delay" : 0 }, /* 模块配置 */ "modules" : {}, /* 应用发布信息 */ "distribute" : { /* android打包配置 */ "android" : { "permissions" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ] }, /* ios打包配置 */ "ios" : {}, /* SDK配置 */ "sdkConfigs" : {} } }, /* 快应用特有相关 */ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { "appid" : "", "setting" : { "urlCheck" : false }, "usingComponents" : true }, "mp-alipay" : { "usingComponents" : true }, "mp-baidu" : { "usingComponents" : true }, "mp-toutiao" : { "usingComponents" : true }, "uniStatistics" : { "enable" : false }, "vueVersion" : "2", "h5" : { "router" : { "mode" : "history" }, "devServer" : { "public" : "0.0.0.0", "proxy" : { //配置代理服务器来解决跨域问题,uniapp不适用CORS方案和设置JSONP方案 "/openwize/" : { //映射域名 "target" : "http://vx8.cc", //测试环境 "changeOrigin" : true, //是否跨域 "secure" : true // 是否支持 https 协议的代理 }, "/api/" : { //映射域名 "target" : "http://dfg.shop.com", //测试环境 "changeOrigin" : true, //是否跨域 "secure" : true // 是否支持 https 协议的代理 } } } } }