diff --git a/service/base.go b/service/base.go index d171ec3..cdd57ab 100644 --- a/service/base.go +++ b/service/base.go @@ -3,7 +3,7 @@ package service import "gorm.io/gorm" func Paginate(current, size int64) func(db *gorm.DB) *gorm.DB { - // 如果页码是-1,就不分页 + // 如果页码是-1,就不分页👋 if current == -1 { return func(db *gorm.DB) *gorm.DB { return db