From e9aa93f381afcf9f9cf0c39f2b9e32375ed49528 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 30 十月 2025 17:39:43 +0800
Subject: [PATCH] 2025.10.30 1. 新增巡查场景历史详情相关数据逻辑(待完成);

---
 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