Explorar o código

1.首页消息只提示自定义消息

王鹏鹏 hai 1 ano
pai
achega
767cea7449

+ 1 - 1
push/src/main/java/com/yingyang/push/activity/PushViewModel.kt

@@ -45,7 +45,7 @@ class PushViewModel : BaseViewModel() {
         msgId: String,
         fail: ((msg: String) -> Unit)? = null,
         success: ((success: Unit?) -> Unit)? = null,
-    ) = launchFlow(true) {
+    ) = launchFlow(false) {
         PUSH_API.updateReadMsg(msgId)
     }.runUI(
         success,