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"`
}
+4
View File
@@ -55,6 +55,10 @@ type AuditIDQuery struct {
ID uint `form:"ID"`
}
type AuditIDsRequest struct {
IDs []int `json:"ids"`
}
type ErrorRecordRequest struct {
Form string `json:"form"`
Info string `json:"info"`