|
|
@@ -3,7 +3,8 @@ import store from './store' |
|
|
|
import App from './App' |
|
|
|
|
|
|
|
// 后端api地址 |
|
|
|
Vue.prototype.$unishow = "http://127.0.0.1/addons/unishop"; |
|
|
|
// Vue.prototype.$unishow = "http://127.0.0.1/addons/unishop"; |
|
|
|
Vue.prototype.$unishow = "http://nwx.zhizhuchuxing.cn/addons/unishop"; |
|
|
|
// Vue.prototype.$unishow = "http://shop1.com/index.php/addons/unishop"; |
|
|
|
//Vue.prototype.$unishow = "http://t.fastadmin-ceshi.com:8888/addons/unishop"; |
|
|
|
//Vue.prototype.$unishow = "http://shop.weivee.com/addons/unishop"; |
|
|
@@ -13,7 +14,8 @@ uni.getSystemInfo({ |
|
|
|
success(res) { |
|
|
|
//console.log(res) |
|
|
|
if (res.platform != "devtools") { |
|
|
|
Vue.prototype.$unishow = "http://127.0.0.1/addons/unishop"; |
|
|
|
// Vue.prototype.$unishow = "http://127.0.0.1/addons/unishop"; |
|
|
|
Vue.prototype.$unishow = "http://nwx.zhizhuchuxing.cn/addons/unishop"; |
|
|
|
// Vue.prototype.$unishow = "http://shop1.com/index.php/addons/unishop"; |
|
|
|
} |
|
|
|
} |
|
|
|