Browse Source

扫一扫

h5_css
yanyan 3 years ago
parent
commit
dceab3e6a3
  1. 3
      main.js
  2. 3
      utils/config.js

3
main.js

@ -14,8 +14,7 @@ uni.$http = $http
Vue.prototype.$api = api
$http.baseUrl = 'http://146.56.223.227:9527'
// $http.baseUrl = 'http://localhost:85'
// $http.baseUrl = 'http://localhost:9527'
$http.beforeRequest = function(options) {
uni.showLoading({

3
utils/config.js

@ -1,4 +1,3 @@
let url_config = 'http://146.56.223.227:9527/'
// let url_config = 'http://localhost:85/'
// let url_config = 'http://localhost:9527/'
export default url_config
Loading…
Cancel
Save