Commit 98fac852 by 霍志良

feat:VIVO推送配置

parent 8cd9e186
...@@ -10,7 +10,7 @@ ext { ...@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.03", "m-fm" : "0.0.30.03",
"m-user" : "0.0.61.42", "m-user" : "0.0.61.42",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.19.74", "m-im" : "0.0.19.75",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10", "m-article" : "0.0.0.10",
...@@ -93,7 +93,7 @@ ext { ...@@ -93,7 +93,7 @@ ext {
"m-fm" : "0.0.30.01", "m-fm" : "0.0.30.01",
"m-user" : "0.0.61.42", "m-user" : "0.0.61.42",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.19.74", "m-im" : "0.0.19.75",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
......
...@@ -1378,6 +1378,9 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy { ...@@ -1378,6 +1378,9 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
} }
String content = customConfig.getPushContent(message); String content = customConfig.getPushContent(message);
Map<String, Object> payload = customConfig.getPushPayload(message); Map<String, Object> payload = customConfig.getPushPayload(message);
Map<String, Object> vivoField = new HashMap<>();
vivoField.put("classification", 1);
payload.put("vivoField", vivoField);
if (!TextUtils.isEmpty(content)) { if (!TextUtils.isEmpty(content)) {
message.setPushContent(content); message.setPushContent(content);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment