fcm ios push badge

This commit is contained in:
Gordon
2022-09-02 16:36:47 +08:00
parent 3f87958328
commit 72aff32024
7 changed files with 101 additions and 61 deletions
+9
View File
@@ -112,3 +112,12 @@ type FcmUpdateTokenReq struct {
type FcmUpdateTokenResp struct {
CommResp
}
type SetAppBadgeReq struct {
OperationID string `json:"operationID" binding:"required"`
FromUserID string `json:"fromUserID" binding:"required"`
AppUnreadCount int32 `json:"appUnreadCount"`
}
type SetAppBadgeResp struct {
CommResp
}