diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 38b0b25..6531799 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -7,8 +7,8 @@ "type" : "uni-app:app-ios" }, { - "customPlaygroundType" : "local", - "playground" : "custom", + "customPlaygroundType" : "device", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/utils/request.js b/utils/request.js index 25c4346..1db7033 100644 --- a/utils/request.js +++ b/utils/request.js @@ -120,14 +120,14 @@ const request = async (options, isUpdate) => { if (process.env.NODE_ENV === "development") { baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。 - // baseURL = "http://test.mrrwlkj.top"; // 发布到生产环境时,此处代码会被摇树移除掉。 + baseURL = "http://test.mrrwlkj.top"; // 发布到生产环境时,此处代码会被摇树移除掉。 //baseURL = 'http://dev.mrrwlkj.top'; // 发布到生产环境时,此处代码会被摇树移除掉。 - baseURL = "https://app.mrrweb.com.cn"; + // baseURL = "https://app.mrrweb.com.cn"; } else { baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。 - // baseURL = "http://test.mrrwlkj.top"; // 发布到生产环境时,此处代码会被摇树移除掉。 + baseURL = "http://test.mrrwlkj.top"; // 发布到生产环境时,此处代码会被摇树移除掉。 //baseURL = 'http://dev.mrrwlkj.top'; // 发布到生产环境时,此处代码会被摇树移除掉。 - baseURL = "https://app.mrrweb.com.cn"; + // baseURL = "https://app.mrrweb.com.cn"; console.log("生产环境"); }