This commit is contained in:
昔念
2026-02-10 10:49:01 +08:00
parent 89645c0f4c
commit c790b68d47
5 changed files with 44 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ func (s *ItemService) GetItemCount(id uint32) data.ItemInfo {
}
return res
}
func (s *ItemService) GetEgg(count int32) []data.ItemInfo {
func (s *ItemService) GetEgg(count uint32) []data.ItemInfo {
var item []model.ItemGift
cool.DBM(s.Model).Where("is_egg", 1).Where("is_enabled", 1).Cache(gdb.CacheOption{
// Duration: time.Hour,