From e234a15b428267997c903a4ed42536c5d9f14a1f Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 10 十一月 2025 13:10:42 +0800
Subject: [PATCH] 2025.11.10 1. 新增巡查场景历史详情相关数据逻辑; 2. 新增工地施工阶段修改界面;
---
app/src/main/java/cn/flightfeather/thirdappmodule/CommonApplication.java | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/app/src/main/java/cn/flightfeather/thirdappmodule/CommonApplication.java b/app/src/main/java/cn/flightfeather/thirdappmodule/CommonApplication.java
index 81c7d74..e05b837 100644
--- a/app/src/main/java/cn/flightfeather/thirdappmodule/CommonApplication.java
+++ b/app/src/main/java/cn/flightfeather/thirdappmodule/CommonApplication.java
@@ -19,7 +19,6 @@
import cn.flightfeather.thirdappmodule.util.GlobalConfig;
import cn.flightfeather.thirdappmodule.util.crashreport.MyCrashHandler;
import cn.flightfeather.thirdappmodule.util.notification.MyNotificationChannel;
-import cn.flightfeather.thirdappmodule.util.push.PushService;
import cn.flightfeather.thirdappmodule.util.tbs.Tbs;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
@@ -30,13 +29,19 @@
*/
public class CommonApplication extends Application {
-// public final String ROOT_URL ="http://192.168.0.200:8080/";
-// public final String ROOT_URL_IMAGE ="http://192.168.0.200:8080/images/";
- public final String ROOT_URL ="http://192.168.0.146:8080/";
- public final String ROOT_URL_IMAGE ="http://192.168.0.146:8080/images/";
-
- public String ROOT_URL_RELEASE = "http://47.100.191.150:9005/";
+// public String ROOT_URL_RELEASE = "http://47.100.191.150:9005/";
+ public String ROOT_URL_RELEASE = "https://fyami.com.cn:447/";
public String ROOT_URL_RELEASE_IMAGE = ROOT_URL_RELEASE + "images/";
+
+ public String ROOT_URL ="http://192.168.0.103:9001/";
+// public String ROOT_URL_IMAGE = ROOT_URL + "images/";
+ public String ROOT_URL_IMAGE = ROOT_URL_RELEASE + "images/";
+
+ // 椋炵窘鐜绯荤粺鍚庣鎺ュ彛ip
+// public String ROOT_URL_RELEASE_2 = "http://47.100.191.150:9006/";
+ public String ROOT_URL_RELEASE_2 = "https://fyami.com.cn/";
+ public String ROOT_URL_RELEASE_IMAGE_2 = ROOT_URL_RELEASE_2 + "images/";
+
private Retrofit retrofit;
private Retrofit retrofitImage;
@@ -52,10 +57,10 @@
public void onCreate() {
super.onCreate();
- new MyCrashHandler(this).init();
-
//鍒濆鍖栫綉缁滆姹�
RetrofitFactory.init(this);
+
+ new MyCrashHandler(this).init();
//x5鍐呮牳鍒濆鍖�
Tbs.Companion.init(this);
@@ -64,7 +69,7 @@
MyNotificationChannel.Companion.init(this);
//鍒濆鍖栫Щ鍔ㄦ帹閫�
- PushService.Companion.init(this);
+// PushService.Companion.init(this);
if (instance == null) {
instance = this;
--
Gitblit v1.9.3