Commit 64fe180a authored by 黄奎's avatar 黄奎

11

parent 8057d335
...@@ -22,16 +22,11 @@ const getRVHandler = (payload, token) => { ...@@ -22,16 +22,11 @@ const getRVHandler = (payload, token) => {
export default { export default {
install(Vue, options) { install(Vue, options) {
Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285" Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
// "http://192.168.5.204:8030"
Vue.prototype.host2 = process.env.NODE_ENV=="development"?"https://erpmallapi.oytour.com":"https://erpmallapi.oytour.com" Vue.prototype.host2 = process.env.NODE_ENV=="development"?"https://erpmallapi.oytour.com":"https://erpmallapi.oytour.com"
Vue.prototype.host3 = process.env.NODE_ENV=="development"?"http://192.168.5.204:8030":"https://reborn.oytour.com" Vue.prototype.host3 = process.env.NODE_ENV=="development"?"http://192.168.5.214":"https://reborn.oytour.com"
Vue.prototype.hostErpUpload = process.env.NODE_ENV=="development"?"https://upload.oytour.com":"https://upload.oytour.com" Vue.prototype.hostErpUpload = process.env.NODE_ENV=="development"?"http://214:8120":"https://upload.oytour.com"
Vue.prototype.hostErpFile = process.env.NODE_ENV=="development"?"https://imgfile.oytour.com":"https://imgfile.oytour.com" Vue.prototype.hostErpFile = process.env.NODE_ENV=="development"?"http://192.168.5.214:8130":"https://imgfile.oytour.com"
// Vue.prototype.host3 = "http://192.168.5.204:8030"
// Vue.prototype.host3 = "https://reborn.oytour.com"
// "http://192.168.5.204:8030":
console.log()
Vue.prototype.request = function(param, success, failed) { Vue.prototype.request = function(param, success, failed) {
//网络请求 //网络请求
uni.request({ uni.request({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment