浏览代码

fix(util/api): 切换回使用产品环境的API地址

注释掉本地测试用的硬编码API地址,恢复使用配置中的正式环境接口地址
allen 10 小时之前
父节点
当前提交
947ddaaadc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      util/api.js

+ 2 - 2
util/api.js

@@ -9,10 +9,10 @@ export const myRequest = (options) => {
     //      ? 'https://uat.hnyfwlw.com'
     //      : 'https://web.hnyfwlw.com';
     // BASE_URL = 'http://192.168.1.107:8000'
-    BASE_URL = 'http://218.28.198.186:10508';
+    // BASE_URL = 'http://218.28.198.186:10508';
     // BASE_URL = 'http://8.136.98.49:8002';
   }
-  // BASE_URL = config.productAPI;
+  BASE_URL = config.productAPI;
   // BASE_URL = config.developAPI;
   var session_key = '';
   session_key = uni.getStorageSync('session_key');