From 42466e7b46143eaf6f1decfe1bbbed4c823d1e34 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Sun, 21 Apr 2024 00:31:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/client/gotify.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/client/gotify.go b/internal/client/gotify.go index 3ca7f86..589e08a 100644 --- a/internal/client/gotify.go +++ b/internal/client/gotify.go @@ -3,11 +3,11 @@ package client import "gotify-client/pkg/utils/time" type GotifyMessage struct { - Id int `json:"id"` - Appid int `json:"appid"` - Message string `json:"message"` - Title string `json:"title"` - Priority int `json:"priority"` - Extras interface{} `json:"extras"` - Date time.Time `json:"date"` + Id int `json:"id"` + Appid int `json:"appid"` + Message string `json:"message"` + Title string `json:"title"` + Priority int `json:"priority"` + Extras map[string]any `json:"extras"` + Date time.Time `json:"date"` }