|
@@ -24,6 +24,13 @@ public abstract class AbstractSendMessage { |
|
@@ -24,6 +24,13 @@ public abstract class AbstractSendMessage { |
24
|
|
24
|
|
25
|
public MessageCenterCommonEvent genMessageCenterCommonEvent(String sendScene, String sendSceneKey, int miniappType, String uid) {
|
25
|
public MessageCenterCommonEvent genMessageCenterCommonEvent(String sendScene, String sendSceneKey, int miniappType, String uid) {
|
26
|
List<String> uids = Arrays.asList(uid);
|
26
|
List<String> uids = Arrays.asList(uid);
|
|
|
27
|
+
|
|
|
28
|
+ // 原来用 miniappFlg = 1 or 0 来标识是否是小程序
|
|
|
29
|
+ // 为了支持多小程序,miniappType (miniappFlg=1 实际上是 miniappType=0的小程序)
|
|
|
30
|
+ // 其他的 miniappFlg = miniappType
|
|
|
31
|
+ if (miniappType == 1){
|
|
|
32
|
+ miniappType = 0;
|
|
|
33
|
+ }
|
27
|
return new MessageCenterCommonEvent(sendScene, sendSceneKey, miniappType, uids);
|
34
|
return new MessageCenterCommonEvent(sendScene, sendSceneKey, miniappType, uids);
|
28
|
}
|
35
|
}
|
29
|
|
36
|
|