list size
This commit is contained in:
parent
78429cfd9c
commit
ab9e7da5db
|
@ -15,7 +15,7 @@ func (b *BaseRequest) Default() {
|
||||||
if b.Page <= 0 {
|
if b.Page <= 0 {
|
||||||
b.Page = 1
|
b.Page = 1
|
||||||
}
|
}
|
||||||
if b.Size <= 0 {
|
if b.Size == 0 {
|
||||||
b.Size = 10
|
b.Size = 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue