From 1897c4ad5fa73b3f0a36e1aa0e1e9000302a6ace Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 31 十月 2025 17:35:09 +0800
Subject: [PATCH] 2025.10.31 1. 新增巡查场景历史详情相关数据逻辑(待完成);

---
 app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt |  144 ++++++++++++++++++++++++------------------------
 1 files changed, 72 insertions(+), 72 deletions(-)

diff --git a/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt b/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt
index d075624..892e5bc 100644
--- a/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt
+++ b/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt
@@ -1,72 +1,72 @@
-package cn.flightfeather.thirdappmodule.util.push
-
-import android.content.Context
-import android.util.Log
-import com.alibaba.sdk.android.push.MessageReceiver
-import com.alibaba.sdk.android.push.notification.CPushMessage
-
-/**
- * 闃块噷浜戞帹閫佹秷鎭帴鏀�
- * @author riku
- * Date: 2019/12/26
- */
-class MyMessageReceiver : MessageReceiver() {
-    companion object {
-        // 娑堟伅鎺ユ敹閮ㄥ垎鐨凩OG_TAG
-        const val REC_TAG = "MyMessageReceiver"
-    }
-
-    override fun onNotification(
-        context: Context?,
-        title: String?,
-        summary: String?,
-        extraMap: Map<String, String>?
-    ) {
-        // TODO 澶勭悊鎺ㄩ�侀�氱煡
-        Log.e(REC_TAG, "Receive notification, title: $title, summary: $summary, extraMap: $extraMap")
-    }
-
-    override fun onMessage(context: Context?, cPushMessage: CPushMessage) {
-        Log.e(
-            REC_TAG,
-            "onMessage, messageId: " + cPushMessage.messageId + ", title: " + cPushMessage.title + ", content:" + cPushMessage.content
-        )
-
-        
-    }
-
-    override fun onNotificationOpened(context: Context?, title: String?, summary: String?, extraMap: String?) {
-        Log.e(REC_TAG, "onNotificationOpened, title: $title, summary: $summary, extraMap:$extraMap")
-    }
-
-    override fun onNotificationClickedWithNoAction(
-        context: Context?,
-        title: String?,
-        summary: String?,
-        extraMap: String?
-    ) {
-        Log.e(
-            REC_TAG,
-            "onNotificationClickedWithNoAction, title: $title, summary: $summary, extraMap:$extraMap"
-        )
-    }
-
-    override fun onNotificationReceivedInApp(
-        context: Context?,
-        title: String?,
-        summary: String?,
-        extraMap: Map<String, String>?,
-        openType: Int,
-        openActivity: String?,
-        openUrl: String?
-    ) {
-        Log.e(
-            REC_TAG,
-            "onNotificationReceivedInApp, title: $title, summary: $summary, extraMap:$extraMap, openType:$openType, openActivity:$openActivity, openUrl:$openUrl"
-        )
-    }
-
-    override fun onNotificationRemoved(context: Context?, messageId: String?) {
-        Log.e(REC_TAG, "onNotificationRemoved")
-    }
-}
\ No newline at end of file
+//package cn.flightfeather.thirdappmodule.util.push
+//
+//import android.content.Context
+//import android.util.Log
+//import com.alibaba.sdk.android.push.MessageReceiver
+//import com.alibaba.sdk.android.push.notification.CPushMessage
+//
+///**
+// * 闃块噷浜戞帹閫佹秷鎭帴鏀�
+// * @author riku
+// * Date: 2019/12/26
+// */
+//class MyMessageReceiver : MessageReceiver() {
+//    companion object {
+//        // 娑堟伅鎺ユ敹閮ㄥ垎鐨凩OG_TAG
+//        const val REC_TAG = "MyMessageReceiver"
+//    }
+//
+//    override fun onNotification(
+//        context: Context?,
+//        title: String?,
+//        summary: String?,
+//        extraMap: Map<String, String>?
+//    ) {
+//        // TODO 澶勭悊鎺ㄩ�侀�氱煡
+//        Log.e(REC_TAG, "Receive notification, title: $title, summary: $summary, extraMap: $extraMap")
+//    }
+//
+//    override fun onMessage(context: Context?, cPushMessage: CPushMessage) {
+//        Log.e(
+//            REC_TAG,
+//            "onMessage, messageId: " + cPushMessage.messageId + ", title: " + cPushMessage.title + ", content:" + cPushMessage.content
+//        )
+//
+//
+//    }
+//
+//    override fun onNotificationOpened(context: Context?, title: String?, summary: String?, extraMap: String?) {
+//        Log.e(REC_TAG, "onNotificationOpened, title: $title, summary: $summary, extraMap:$extraMap")
+//    }
+//
+//    override fun onNotificationClickedWithNoAction(
+//        context: Context?,
+//        title: String?,
+//        summary: String?,
+//        extraMap: String?
+//    ) {
+//        Log.e(
+//            REC_TAG,
+//            "onNotificationClickedWithNoAction, title: $title, summary: $summary, extraMap:$extraMap"
+//        )
+//    }
+//
+//    override fun onNotificationReceivedInApp(
+//        context: Context?,
+//        title: String?,
+//        summary: String?,
+//        extraMap: Map<String, String>?,
+//        openType: Int,
+//        openActivity: String?,
+//        openUrl: String?
+//    ) {
+//        Log.e(
+//            REC_TAG,
+//            "onNotificationReceivedInApp, title: $title, summary: $summary, extraMap:$extraMap, openType:$openType, openActivity:$openActivity, openUrl:$openUrl"
+//        )
+//    }
+//
+//    override fun onNotificationRemoved(context: Context?, messageId: String?) {
+//        Log.e(REC_TAG, "onNotificationRemoved")
+//    }
+//}
\ No newline at end of file

--
Gitblit v1.9.3