Verified Commit cb09b40d authored by Cui's avatar Cui

fix

parent 261d1671
......@@ -61,6 +61,7 @@ func AppMessageSender(am AppMessage, appKey, masterSecret string, iosProduction
iosNotification.AddExtra("messageId", am.Extra.MessageId)
}
androidNotification.AddExtra("noticeType", am.Extra.NoticeType)
androidNotification.AddExtra("jumpType", am.Extra.JumpType)
androidNotification.AddExtra("jumpPage", am.Extra.JumpPage)
androidNotification.AddExtra("jumpUrl", am.Extra.JumpUrl)
......@@ -73,6 +74,7 @@ func AppMessageSender(am AppMessage, appKey, masterSecret string, iosProduction
androidNotification.AddExtra("projectId", am.Extra.ProjectId)
androidNotification.AddExtra("productId", am.Extra.ProductId)
iosNotification.AddExtra("noticeType", am.Extra.NoticeType)
iosNotification.AddExtra("jumpType", am.Extra.JumpType)
iosNotification.AddExtra("jumpPage", am.Extra.JumpPage)
iosNotification.AddExtra("jumpUrl", am.Extra.JumpUrl)
......
......@@ -380,6 +380,8 @@ type AppMessage struct {
UnReadCount int `json:"unReadCount"`
MessageId string `json:"messageId"`
NoticeType int `json:"noticeType"`
JumpType string `json:"jumpType"` // enum: [ 'app','web' ],
JumpPage string `json:"jumpPage"` // enum: [ 'home', 'found', 'invite','buyCourse ','buyCard','webpage' ],
JumpUrl string `json:"jumpUrl"`
......
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