Browse Source

调整

undefined
xubinxcode 4 years ago
parent
commit
316ff7240a
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      addons/unishop/uniapp/uni-shop/main.js

+ 4
- 2
addons/unishop/uniapp/uni-shop/main.js View File

@@ -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";
}
}


Loading…
Cancel
Save