This commit is contained in:
2026-08-17 02:39:40 +08:00
parent 6a05803e08
commit d09e6b42bd
16 changed files with 74 additions and 19 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ type AnnouncementRequest struct {
ID uint `json:"ID"`
Title string `json:"title"`
Content string `json:"content"`
UserID *uint `json:"userID"`
UserID *int `json:"userID"`
Attachments json.RawMessage `json:"attachments"`
}
@@ -29,7 +29,7 @@ type AnnouncementResponse struct {
DeletedAt any `json:"-"`
Title string `json:"title"`
Content string `json:"content"`
UserID *uint `json:"userID"`
UserID *int `json:"userID"`
Attachments any `json:"attachments"`
}