update cronjob

This commit is contained in:
2022-03-01 17:43:41 +08:00
parent 093e44c642
commit 3ba1cb2565
13 changed files with 186 additions and 115 deletions
+12
View File
@@ -0,0 +1,12 @@
package util
import "cutego/pkg/page"
func NewPage(list []interface{}, total int64, pageSize int) page.Page {
// 值对象, 不可变
return page.Page{
List: list,
Total: total,
Size: pageSize,
}
}