- 启用新活动初始版本

This commit is contained in:
gazebo
2019-07-03 15:31:55 +08:00
parent 3bd645e937
commit e86ae6e096
10 changed files with 423 additions and 54 deletions

View File

@@ -181,3 +181,10 @@ func FormalizePageSize(pageSize int) int {
}
return pageSize
}
func FormalizePageOffset(offset int) int {
if offset < 0 {
offset = 0
}
return offset
}