作者 yangfu

离线推送 vivo扩展修改

... ... @@ -135,6 +135,12 @@ func channelAndroid(m *MapData, option *push.Options) {
m.SetFieldMap(notification, "click_type", "payload")
m.SetFieldMap(notification, "payload", option.TransmissionContent)
}
optionsMap := make(map[string]map[string]interface{})
optionsMap["VV"] = map[string]interface{}{
"classification": 1,
}
m.AddFiled("push_channel.android.ups.options", optionsMap)
}
/*
... ...