fix: accept jpush token metadata fields

This commit is contained in:
richjohnrambo
2026-09-14 17:34:12 +08:00
parent 2581d7b8f0
commit 02eddb6010
4 changed files with 47 additions and 27 deletions
+11 -8
View File
@@ -79,12 +79,15 @@ type YouthModeSettings struct {
}
type DevicePushToken struct {
UserID Uid
DeviceID string
Provider string
Token string
AppVersion string
Platform string
UpdatedAt time.Time
CreatedAt time.Time
UserID Uid
DeviceID string
Provider string
Token string
AppVersion string
Platform string
SDKVersion string
PushEnv string
NotificationPermission string
UpdatedAt time.Time
CreatedAt time.Time
}