实际开发接口
This commit is contained in:
parent
2f52fcfa02
commit
62cdaaa113
|
|
@ -20,7 +20,8 @@ const install = (Vue, vm) => {
|
||||||
// },
|
// },
|
||||||
// });
|
// });
|
||||||
Vue.prototype.$u.http.setConfig({
|
Vue.prototype.$u.http.setConfig({
|
||||||
baseUrl: 'http://192.168.2.23/dev-api',
|
baseUrl: 'https://testlu.chuangtewl.com/prod-api',
|
||||||
|
//baseUrl: 'http://192.168.2.23/dev-api',
|
||||||
// baseUrl: 'https://znb.ccttiot.com',
|
// baseUrl: 'https://znb.ccttiot.com',
|
||||||
loadingText: '努力加载中~',
|
loadingText: '努力加载中~',
|
||||||
loadingTime: 800,
|
loadingTime: 800,
|
||||||
|
|
|
||||||
4
main.js
4
main.js
|
|
@ -54,9 +54,7 @@ Vue.prototype.wxLogin = async function(){
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Vue.prototype.$u.http.setConfig({
|
|
||||||
baseUrl: 'http://192.168.2.7:4501'
|
|
||||||
})
|
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
// 统一请求工具
|
// 统一请求工具
|
||||||
import { getTempToken, shouldUseTempToken } from '@/config/dev.js'
|
import { getTempToken, shouldUseTempToken } from '@/config/dev.js'
|
||||||
|
|
||||||
const BASE_URL = 'http://192.168.2.7:4501'
|
// const BASE_URL = 'http://192.168.2.7:4501'
|
||||||
|
const BASE_URL = 'https://testlu.chuangtewl.com/prod-api'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 统一请求方法
|
* 统一请求方法
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user