|
@@ -3,7 +3,7 @@ import store from './store' |
|
|
import App from './App' |
|
|
import App from './App' |
|
|
|
|
|
|
|
|
// 后端api地址 |
|
|
// 后端api地址 |
|
|
Vue.prototype.$unishow = "http://http://132.232.77.71:9191/addons/unishop"; |
|
|
|
|
|
|
|
|
Vue.prototype.$unishow = "http://47.101.187.29:8082/addons/unishop"; |
|
|
//Vue.prototype.$unishow = "http://t.fastadmin-ceshi.com:8888/addons/unishop"; |
|
|
//Vue.prototype.$unishow = "http://t.fastadmin-ceshi.com:8888/addons/unishop"; |
|
|
//Vue.prototype.$unishow = "http://shop.weivee.com/addons/unishop"; |
|
|
//Vue.prototype.$unishow = "http://shop.weivee.com/addons/unishop"; |
|
|
|
|
|
|
|
@@ -12,7 +12,7 @@ uni.getSystemInfo({ |
|
|
success(res) { |
|
|
success(res) { |
|
|
//console.log(res) |
|
|
//console.log(res) |
|
|
if (res.platform != "devtools") { |
|
|
if (res.platform != "devtools") { |
|
|
Vue.prototype.$unishow = "http://132.232.77.71:9191//addons/unishop"; |
|
|
|
|
|
|
|
|
Vue.prototype.$unishow = "http://47.101.187.29:8082/addons/unishop"; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|