fix bug:page size is zero

This commit is contained in:
EUForest
2025-10-14 15:07:35 +08:00
parent 15beff410b
commit f67c2e34dc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -656,7 +656,7 @@ type (
// public announcement
QueryAnnouncementRequest {
Page int `form:"page"`
Size int `form:"size"`
Size int `form:"size,default=15"`
Pinned *bool `form:"pinned"`
Popup *bool `form:"popup"`
}