|
|
@@ -3,7 +3,7 @@ import store from './store' |
|
|
|
import App from './App' |
|
|
|
|
|
|
|
// 后端api地址 |
|
|
|
Vue.prototype.$unishow = "http://47.101.187.29:8083/addons/unishop"; |
|
|
|
Vue.prototype.$unishow = "http://msveni.com/addons/unishop"; |
|
|
|
//Vue.prototype.$unishow = "http://t.fastadmin-ceshi.com:8888/addons/unishop"; |
|
|
|
//Vue.prototype.$unishow = "http://shop.weivee.com/addons/unishop"; |
|
|
|
|
|
|
@@ -12,7 +12,7 @@ uni.getSystemInfo({ |
|
|
|
success(res) { |
|
|
|
//console.log(res) |
|
|
|
if (res.platform != "devtools") { |
|
|
|
Vue.prototype.$unishow = "http://47.101.187.29:8083/addons/unishop"; |
|
|
|
Vue.prototype.$unishow = "http://msveni.com/addons/unishop"; |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
@@ -123,7 +123,7 @@ const request = async (url, method = 'GET', data = {}, showMsg = true) => { |
|
|
|
method: method, |
|
|
|
header: header, |
|
|
|
data: data, |
|
|
|
timeout: 5000 |
|
|
|
timeout: 50000 |
|
|
|
}); |
|
|
|
if (url == '/pay/submit') { |
|
|
|
console.log(res); |
|
|
|