浏览代码

api
修改

chenxiong 3 年之前
父节点
当前提交
4f45bedab5
共有 1 个文件被更改,包括 7 次插入4 次删除
  1. 7 4
      common/request.js

+ 7 - 4
common/request.js

@@ -3,11 +3,14 @@
 import store from '@/store/index.js'
 import api from './api.js'
 var num = 1
+//接口api   
+// export const BASE_URL = 'https://api.xyyxt.net'   //release
+export const BASE_URL = 'http://42.192.164.187:19005'  //test
+// export const BASE_URL = 'http://192.168.1.222:5055'    //dev
 
-export const BASE_URL = 'https://api.xyyxt.net' //接口api  http://42.192.164.187:19005 http://192.168.1.222:5055
-
-
-export const BASE_IMG_URL = 'https://file.xyyxt.net/' //图片上传api  '  https://file-dev.xyyxt.net/
+ //图片上传api
+// export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release
+ export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
 export const tenantId = '867735392558919680' 
 export const myRequest = (options) => {
 	if (store.state.allowLoading) {