liyongli hace 3 años
padre
commit
4a028e778b
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      src/config/index.js

+ 4 - 2
src/config/index.js

@@ -2,7 +2,8 @@ import tableCol from "./tableCol";
 let useApiUrl = "http://172.16.101.20:8762/cxzx-kuyun",
   useApiUrl1 = "http://172.16.101.20:8762/cxzx-program",
   kuyunApi = "http://172.16.101.20:8762/cxzx-fm",
-  guijiApi = "http://topic.smcic.net";
+  guijiApi = "http://topic.smcic.net",
+  leverAudience = "http://172.16.101.20:8762";
 let base = "";
 // let isRelease = false; //是否是线上发布版本
 if (process.env.NODE_ENV !== "development") {
@@ -10,6 +11,7 @@ if (process.env.NODE_ENV !== "development") {
   useApiUrl = base + "/cxzx-kuyun";
   useApiUrl1 = base + "/cxzx-program";
   kuyunApi = base + "/cxzx-fm";
+  leverAudience = base;
   //   isRelease = true;
 }
 
@@ -18,7 +20,7 @@ export default {
     url: useApiUrl,
     url2: useApiUrl1,
     url3: "",
-    leverAudience: "http://172.16.101.20:8762",
+    leverAudience,
     kuyunApi,
     guijiApi,
     adAPI: "http://topic.smcic.net",