Browse Source

init

undefined
wangxiaohua 2 years ago
parent
commit
5f02dc9985
2 changed files with 11 additions and 2 deletions
  1. +7
    -2
      config.js
  2. +4
    -0
      utils/http.js

+ 7
- 2
config.js View File

@@ -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的后端地址正式


+ 4
- 0
utils/http.js View File

@@ -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,


Loading…
Cancel
Save