list size

This commit is contained in:
jiangyong27 2025-04-08 12:15:16 +08:00
parent 78429cfd9c
commit ab9e7da5db
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ func (b *BaseRequest) Default() {
if b.Page <= 0 {
b.Page = 1
}
if b.Size <= 0 {
if b.Size == 0 {
b.Size = 10
}
}