diff --git a/App.vue b/App.vue index 418f0516..99d3e6c4 100644 --- a/App.vue +++ b/App.vue @@ -14,10 +14,10 @@ this.globalData.siteUrl = uni.getStorageSync('ipPort') + '/' } else { // this.globalData.siteUrl = "http://58.34.63.88:9090/" - this.globalData.siteUrl = 'http://192.168.34.125:6023/' + // this.globalData.siteUrl = 'http://192.168.34.125:6023/' // this.globalData.siteUrl = 'http://223.82.100.80:9000/' // this.globalData.siteUrl = 'http://120.236.247.200:9000/' - // this.globalData.siteUrl = 'http://zhgd.loganwy.com/' + this.globalData.siteUrl = 'http://zhgd.loganwy.com/' // this.globalData.siteUrl = 'http://183.60.227.61:30249/' // this.globalData.siteUrl = 'http://124.71.178.44:9000/' // this.globalData.siteUrl = "http://183.95.84.34:7185/" @@ -35,13 +35,13 @@ } else { // this.globalData.siteUrl = "http://58.34.63.88:9090/" // this.globalData.siteUrl = 'http://124.71.178.44:9000/' - Vue.prototype.url_config = 'http://192.168.34.125:6023/' + // Vue.prototype.url_config = 'http://192.168.34.125:6023/' // Vue.prototype.url_config = 'http://120.236.247.200:9000/' // this.globalData.siteUrl = "http://183.95.84.34:7185/" // this.globalData.siteUrl = "https://183.95.84.34:6183/" // this.globalData.siteUrl = "http://36.137.53.203:9090/" // this.globalData.siteUrl = 'http://183.60.227.61:30249/' - // this.globalData.siteUrl = 'http://zhgd.loganwy.com/' + this.globalData.siteUrl = 'http://zhgd.loganwy.com/' // this.globalData.siteUrl = "http://36.137.53.203:9090/" // Vue.prototype.url_config = 'http://124.71.87.250/' // Vue.prototype.url_config = 'http://58.250.210.4:9090/' diff --git a/main.js b/main.js index ad22a90d..028649db 100644 --- a/main.js +++ b/main.js @@ -8,30 +8,30 @@ App.mpType = 'app' //全局变量 // Vue.prototype.mobileTopHeight = uni.getMenuButtonBoundingClientRect()?uni.getMenuButtonBoundingClientRect().top:0; Vue.prototype.url_config='' -// Vue.prototype.COMPANY = "longguang" -Vue.prototype.COMPANY = "nanchang" +Vue.prototype.COMPANY = "longguang" +// Vue.prototype.COMPANY = "nanchang" // Vue.prototype.COMPANY = "" if (process.env.NODE_ENV === 'development') { // 开发环境 -console.log('开发环境') - if(uni.getStorageSync('ipPort')){ - Vue.prototype.url_config = uni.getStorageSync('ipPort')+'/' - }else{ - // Vue.prototype.url_config = 'http://192.168.34.125:6023/' - // Vue.prototype.url_config = 'http://223.82.100.80:9000/' - // Vue.prototype.url_config = 'http://120.236.247.200:9000/' - Vue.prototype.url_config = 'http://zhgd.loganwy.com/' - // Vue.prototype.url_config = 'http://183.60.227.61:30249/' - // Vue.prototype.url_config = 'http://183.60.227.61:30249/' - // Vue.prototype.url_config = 'http://124.71.178.44:9000/' - // Vue.prototype.url_config = "http://58.34.63.88:9090/" - // Vue.prototype.url_config = "http://183.95.84.34:7185/" - // Vue.prototype.url_config = "http://218.92.215.138:9090/" //新佳城小区 123456 - // Vue.prototype.url_config = "http://36.137.53.203:9090/" //南昌地铁 gdjt 123456 - // Vue.prototype.url_config = 'http://124.71.178.44:8/' - // Vue.prototype.url_config = 'http://124.71.87.250/' - } + console.log('开发环境') + if(uni.getStorageSync('ipPort')){ + Vue.prototype.url_config = uni.getStorageSync('ipPort')+'/' + }else{ + // Vue.prototype.url_config = 'http://192.168.34.125:6023/' + // Vue.prototype.url_config = 'http://223.82.100.80:9000/' + // Vue.prototype.url_config = 'http://120.236.247.200:9000/' + Vue.prototype.url_config = 'http://zhgd.loganwy.com/' + // Vue.prototype.url_config = 'http://183.60.227.61:30249/' + // Vue.prototype.url_config = 'http://183.60.227.61:30249/' + // Vue.prototype.url_config = 'http://124.71.178.44:9000/' + // Vue.prototype.url_config = "http://58.34.63.88:9090/" + // Vue.prototype.url_config = "http://183.95.84.34:7185/" + // Vue.prototype.url_config = "http://218.92.215.138:9090/" //新佳城小区 123456 + // Vue.prototype.url_config = "http://36.137.53.203:9090/" //南昌地铁 gdjt 123456 + // Vue.prototype.url_config = 'http://124.71.178.44:8/' + // Vue.prototype.url_config = 'http://124.71.87.250/' + } } else { // 生产环境 @@ -41,14 +41,14 @@ console.log('开发环境') }else{ // Vue.prototype.url_config = 'http://192.168.34.125:6023/' // Vue.prototype.url_config = 'http://223.82.100.80:9000/' - Vue.prototype.url_config = 'http://120.236.247.200:9000/' + // Vue.prototype.url_config = 'http://120.236.247.200:9000/' // Vue.prototype.url_config = "http://58.34.63.88:9090/" // Vue.prototype.url_config = 'http://124.71.178.44:9000/' // Vue.prototype.url_config = "http://183.95.84.34:7185/" // Vue.prototype.url_config = "http://36.137.53.203:9090/" // Vue.prototype.url_config = 'http://192.168.34.125:6023/' // Vue.prototype.url_config = 'http://183.60.227.61:30249/' - // Vue.prototype.url_config = 'http://zhgd.loganwy.com/' + Vue.prototype.url_config = 'http://zhgd.loganwy.com/' // Vue.prototype.url_config = "http://36.137.53.203:9090/" // Vue.prototype.url_config = 'http://124.71.87.250/' } diff --git a/manifest.json b/manifest.json index 903707f8..8f569268 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { "name" : "智慧工地云", - "appid" : "__UNI__DC0B4F9", + "appid" : "__UNI__5DFB609", "description" : "", - "versionName" : "6.5", + "versionName" : "125", "versionCode" : 125, "transformPx" : false, /* 5+App特有相关 */