Browse Source

微笑榆山1.1.0版本 首页改版 加 新增物业服务

feature/v2.0
lihenian 5 years ago
parent
commit
1e9daf3cea
  1. 6
      epdc-resident-mp-yushan/pages/toRegister/toRegister.js
  2. 4
      epdc-resident-mp-yushan/utils/config.js

6
epdc-resident-mp-yushan/pages/toRegister/toRegister.js

@ -21,7 +21,7 @@ Page({
} }
}) })
let that = this let that = this
const versionNum = '1.2.11' const versionNum = '1.1.0'
api.getScanSwitch(versionNum).then(function (res) { api.getScanSwitch(versionNum).then(function (res) {
console.log(res.data) console.log(res.data)
let state = res.data.scanFlag let state = res.data.scanFlag
@ -42,9 +42,9 @@ Page({
// }) // })
}, },
experience() { experience() {
app.globalData.tempGridId = '1222032503139762178' app.globalData.tempGridId = '1258587880499798017' // 1222032503139762178
wx.reLaunch({ wx.reLaunch({
url: '/pages/index/index?scene=1222032503139762178' url: '/pages/index/index?scene=1258587880499798017'
}) })
}, },
scan() { scan() {

4
epdc-resident-mp-yushan/utils/config.js

@ -10,14 +10,14 @@ function BASEURL() {
// return 'http://10.10.10.225:9094/epdc-api/api/' // 本地测试 接口地址 // return 'http://10.10.10.225:9094/epdc-api/api/' // 本地测试 接口地址
// return 'https://epdc-shibei.elinkit.com.cn/epdc-api/api/' // return 'https://epdc-shibei.elinkit.com.cn/epdc-api/api/'
// return 'https://eug-test.elinkit.com.cn/epdc-api/api/' // 测试环境 接口地址 // return 'https://eug-test.elinkit.com.cn/epdc-api/api/' // 测试环境 接口地址
return "https://epdc-test.elinkservice.cn/epdc-api/api/" // 测试环境 ip接口地址 // return "https://epdc-test.elinkservice.cn/epdc-api/api/" // 测试环境 ip接口地址
// return "https://epdc.elinkservice.cn/epdc-api/api/" // 正式环境 接口地址 // return "https://epdc.elinkservice.cn/epdc-api/api/" // 正式环境 接口地址
// return 'https://epdc-app.qingdaoshibei.cn/epdc-api/api/' // 电政办 正式环境 接口地址 // return 'https://epdc-app.qingdaoshibei.cn/epdc-api/api/' // 电政办 正式环境 接口地址
// return 'https://epdc-shibei.elinkservice.cn/epdc-api/api/' // 电政办 正式环境 接口地址 // return 'https://epdc-shibei.elinkservice.cn/epdc-api/api/' // 电政办 正式环境 接口地址
// return 'httpss://epdc-kongcun.elinkit.com.cn/epdc-api/api/' // 孔村正式环境地址 // return 'httpss://epdc-kongcun.elinkit.com.cn/epdc-api/api/' // 孔村正式环境地址
// return "https://nei.netease.com/api/apimock-v2/ccdea843b26ece1e1f9873d6825e7a09/api/" //mock地址 // return "https://nei.netease.com/api/apimock-v2/ccdea843b26ece1e1f9873d6825e7a09/api/" //mock地址
// return 'https://epdc-test.elinkservice.cn/epdc-api/api/' // 先锋市北正式环境 // return 'https://epdc-test.elinkservice.cn/epdc-api/api/' // 先锋市北正式环境
// return 'https://epdc-yushan.elinkservice.cn/epdc-api/api/' // 微笑榆山正式环境 return 'https://epdc-yushan.elinkservice.cn/epdc-api/api/' // 微笑榆山正式环境
} }
function WEBROOT() { function WEBROOT() {

Loading…
Cancel
Save