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/MyMessageIntentService.kt |  192 ++++++++++++++++++++++++------------------------
 1 files changed, 96 insertions(+), 96 deletions(-)

diff --git a/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageIntentService.kt b/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageIntentService.kt
index 728d9de..cda83d1 100644
--- a/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageIntentService.kt
+++ b/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageIntentService.kt
@@ -1,96 +1,96 @@
-package cn.flightfeather.thirdappmodule.util.push
-
-import android.content.Context
-import android.util.Log
-
-import com.alibaba.sdk.android.push.AliyunMessageIntentService
-import com.alibaba.sdk.android.push.notification.CPushMessage
-
-/**
- * 涓洪伩鍏嶆帹閫佸箍鎾绯荤粺鎷︽埅鐨勫皬姒傜巼浜嬩欢,鎴戜滑鎺ㄨ崘鐢ㄦ埛閫氳繃IntentService澶勭悊娑堟伅浜掕皟,鎺ュ叆姝ラ:
- * 璇︾粏鐢ㄦ埛鍙弬鑰�:https://help.aliyun.com/document_detail/30066.html#h2-2-messagereceiver-aliyunmessageintentservice
- */
-
-class MyMessageIntentService : AliyunMessageIntentService() {
-
-    companion object {
-        private const val REC_TAG = "MyMessageIntentService"
-    }
-
-    /**
-     * 鎺ㄩ�侀�氱煡鐨勫洖璋冩柟娉�
-     * @param context
-     * @param title
-     * @param summary
-     * @param extraMap
-     */
-    override fun onNotification(context: Context, title: String, summary: String, extraMap: Map<String, String>) {
-        Log.i(REC_TAG, "鏀跺埌涓�鏉℃帹閫侀�氱煡 锛� $title, summary:$summary")
-    }
-
-    /**
-     * 鎺ㄩ�佹秷鎭殑鍥炶皟鏂规硶
-     * @param context
-     * @param cPushMessage
-     */
-    override fun onMessage(context: Context, cPushMessage: CPushMessage) {
-        Log.i(REC_TAG, "鏀跺埌涓�鏉℃帹閫佹秷鎭� 锛� " + cPushMessage.title + ", content:" + cPushMessage.content)
-    }
-
-    /**
-     * 浠庨�氱煡鏍忔墦寮�閫氱煡鐨勬墿灞曞鐞�
-     * @param context
-     * @param title
-     * @param summary
-     * @param extraMap
-     */
-    override fun onNotificationOpened(context: Context, title: String, summary: String, extraMap: String) {
-        Log.i(REC_TAG, "onNotificationOpened 锛�  : $title : $summary : $extraMap")
-
-    }
-
-    /**
-     * 鏃犲姩浣滈�氱煡鐐瑰嚮鍥炶皟銆傚綋鍦ㄥ悗鍙版垨闃块噷浜戞帶鍒跺彴鎸囧畾鐨勯�氱煡鍔ㄤ綔涓烘棤閫昏緫璺宠浆鏃�,閫氱煡鐐瑰嚮鍥炶皟涓簅nNotificationClickedWithNoAction鑰屼笉鏄痮nNotificationOpened
-     * @param context
-     * @param title
-     * @param summary
-     * @param extraMap
-     */
-    override fun onNotificationClickedWithNoAction(context: Context, title: String, summary: String, extraMap: String) {
-        Log.i(REC_TAG, "onNotificationClickedWithNoAction 锛�  : $title : $summary : $extraMap")
-    }
-
-    /**
-     * 閫氱煡鍒犻櫎鍥炶皟
-     * @param context
-     * @param messageId
-     */
-    override fun onNotificationRemoved(context: Context, messageId: String) {
-        Log.i(REC_TAG, "onNotificationRemoved 锛� $messageId")
-    }
-
-    /**
-     * 搴旂敤澶勪簬鍓嶅彴鏃堕�氱煡鍒拌揪鍥炶皟銆傛敞鎰�:璇ユ柟娉曚粎瀵硅嚜瀹氫箟鏍峰紡閫氱煡鏈夋晥,鐩稿叧璇︽儏璇峰弬鑰僪ttps://help.aliyun.com/document_detail/30066.html#h3-3-4-basiccustompushnotification-api
-     * @param context
-     * @param title
-     * @param summary
-     * @param extraMap
-     * @param openType
-     * @param openActivity
-     * @param openUrl
-     */
-    override fun onNotificationReceivedInApp(
-        context: Context,
-        title: String,
-        summary: String,
-        extraMap: Map<String, String>,
-        openType: Int,
-        openActivity: String,
-        openUrl: String
-    ) {
-        Log.i(
-            REC_TAG,
-            "onNotificationReceivedInApp 锛�  : $title : $summary  $extraMap : $openType : $openActivity : $openUrl"
-        )
-    }
-}
+//package cn.flightfeather.thirdappmodule.util.push
+//
+//import android.content.Context
+//import android.util.Log
+//
+//import com.alibaba.sdk.android.push.AliyunMessageIntentService
+//import com.alibaba.sdk.android.push.notification.CPushMessage
+//
+///**
+// * 涓洪伩鍏嶆帹閫佸箍鎾绯荤粺鎷︽埅鐨勫皬姒傜巼浜嬩欢,鎴戜滑鎺ㄨ崘鐢ㄦ埛閫氳繃IntentService澶勭悊娑堟伅浜掕皟,鎺ュ叆姝ラ:
+// * 璇︾粏鐢ㄦ埛鍙弬鑰�:https://help.aliyun.com/document_detail/30066.html#h2-2-messagereceiver-aliyunmessageintentservice
+// */
+//
+//class MyMessageIntentService : AliyunMessageIntentService() {
+//
+//    companion object {
+//        private const val REC_TAG = "MyMessageIntentService"
+//    }
+//
+//    /**
+//     * 鎺ㄩ�侀�氱煡鐨勫洖璋冩柟娉�
+//     * @param context
+//     * @param title
+//     * @param summary
+//     * @param extraMap
+//     */
+//    override fun onNotification(context: Context, title: String, summary: String, extraMap: Map<String, String>) {
+//        Log.i(REC_TAG, "鏀跺埌涓�鏉℃帹閫侀�氱煡 锛� $title, summary:$summary")
+//    }
+//
+//    /**
+//     * 鎺ㄩ�佹秷鎭殑鍥炶皟鏂规硶
+//     * @param context
+//     * @param cPushMessage
+//     */
+//    override fun onMessage(context: Context, cPushMessage: CPushMessage) {
+//        Log.i(REC_TAG, "鏀跺埌涓�鏉℃帹閫佹秷鎭� 锛� " + cPushMessage.title + ", content:" + cPushMessage.content)
+//    }
+//
+//    /**
+//     * 浠庨�氱煡鏍忔墦寮�閫氱煡鐨勬墿灞曞鐞�
+//     * @param context
+//     * @param title
+//     * @param summary
+//     * @param extraMap
+//     */
+//    override fun onNotificationOpened(context: Context, title: String, summary: String, extraMap: String) {
+//        Log.i(REC_TAG, "onNotificationOpened 锛�  : $title : $summary : $extraMap")
+//
+//    }
+//
+//    /**
+//     * 鏃犲姩浣滈�氱煡鐐瑰嚮鍥炶皟銆傚綋鍦ㄥ悗鍙版垨闃块噷浜戞帶鍒跺彴鎸囧畾鐨勯�氱煡鍔ㄤ綔涓烘棤閫昏緫璺宠浆鏃�,閫氱煡鐐瑰嚮鍥炶皟涓簅nNotificationClickedWithNoAction鑰屼笉鏄痮nNotificationOpened
+//     * @param context
+//     * @param title
+//     * @param summary
+//     * @param extraMap
+//     */
+//    override fun onNotificationClickedWithNoAction(context: Context, title: String, summary: String, extraMap: String) {
+//        Log.i(REC_TAG, "onNotificationClickedWithNoAction 锛�  : $title : $summary : $extraMap")
+//    }
+//
+//    /**
+//     * 閫氱煡鍒犻櫎鍥炶皟
+//     * @param context
+//     * @param messageId
+//     */
+//    override fun onNotificationRemoved(context: Context, messageId: String) {
+//        Log.i(REC_TAG, "onNotificationRemoved 锛� $messageId")
+//    }
+//
+//    /**
+//     * 搴旂敤澶勪簬鍓嶅彴鏃堕�氱煡鍒拌揪鍥炶皟銆傛敞鎰�:璇ユ柟娉曚粎瀵硅嚜瀹氫箟鏍峰紡閫氱煡鏈夋晥,鐩稿叧璇︽儏璇峰弬鑰僪ttps://help.aliyun.com/document_detail/30066.html#h3-3-4-basiccustompushnotification-api
+//     * @param context
+//     * @param title
+//     * @param summary
+//     * @param extraMap
+//     * @param openType
+//     * @param openActivity
+//     * @param openUrl
+//     */
+//    override fun onNotificationReceivedInApp(
+//        context: Context,
+//        title: String,
+//        summary: String,
+//        extraMap: Map<String, String>,
+//        openType: Int,
+//        openActivity: String,
+//        openUrl: String
+//    ) {
+//        Log.i(
+//            REC_TAG,
+//            "onNotificationReceivedInApp 锛�  : $title : $summary  $extraMap : $openType : $openActivity : $openUrl"
+//        )
+//    }
+//}

--
Gitblit v1.9.3