浏览代码

清除无用代码

谢杰标 2 年之前
父节点
当前提交
2c7242e2da
共有 2 个文件被更改,包括 3 次插入11 次删除
  1. 3 1
      config/dev.env.js
  2. 0 10
      src/axios.js

+ 3 - 1
config/dev.env.js

@@ -8,4 +8,6 @@ module.exports = {
   TENANT_NANE: '"祥粤云学堂"',
   ENV_ID: '"680"',
 }
-
+// BASE_URL:'https://test.xyyxt.net'   //预发布
+// BASE_URL:'http://192.168.1.222:5055'
+// 中正-141250585240548145,详粤-867735392558919680,中山-567735392758918520

+ 0 - 10
src/axios.js

@@ -1,17 +1,7 @@
 import axios from 'axios'
 import store from './store'
-// export const BASE_URL = 'https://api.xyyxt.net'   //release
-// export const BASE_URL = 'https://test.xyyxt.net'   //预发布
 export const BASE_URL = process.env.BASE_URL    //测试-外网
-// export const BASE_URL = 'http://192.168.1.222:5055'    //测试
 export const tenantId = process.env.TENANT_ID
-// export const tenantId = '141250585240548145'
-// export const tenantId = '667735392758919630'
-
-//图片上传api
-// export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release
-// export const BASE_IMG_URL = process.env.BASE_IMG_URL  //test
-console.log(process.env.BASE_URL,6666)
 import tools from './common/tools'
 import router from './router'