diff --git a/config.js b/config.js index 6be850b..ad14a0c 100644 --- a/config.js +++ b/config.js @@ -8,8 +8,13 @@ var host = 'http://192.168.31.134:9999/autoSR/api'; // 佳豪 var hosts = 'http://192.168.31.134:9999/'; // 佳豪 -// var host = 'http://8kdmng.natappfree.cc/autoSR/api'; // 佳豪 -// var hosts = 'http://8kdmng.natappfree.cc/'; // 佳豪 +// var host = 'http://8kdmng.natappfree.cc/autoSR/api'; +// var hosts = 'http://8kdmng.natappfree.cc/'; + + +// var host = 'http://zanyong.hfju.com/autoSR/api';//正式 +// var hosts = 'http://zanyong.hfju.com/';//正式 + var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 diff --git a/utils/http.js b/utils/http.js index 582438b..d49bf98 100644 --- a/utils/http.js +++ b/utils/http.js @@ -6,6 +6,10 @@ const baseUrl = 'http://192.168.31.134:9999/autoSR/api'; // 佳豪 +// const baseUrl = 'http://zanyong.hfju.com/autoSR/api';// 正式 + + + const install = (Vue, vm) => { Vue.prototype.$u.http.setConfig({ baseUrl,