diff --git a/domain/model/noble_m/userNoble.go b/domain/model/noble_m/userNoble.go index 9cf6aa4c36b27069af04f30b6f3e9385d894c47c..06a820cd0a83e31019629eb996c6decc8fe08b6d 100644 --- a/domain/model/noble_m/userNoble.go +++ b/domain/model/noble_m/userNoble.go @@ -144,7 +144,7 @@ func BatchGetActiveNoble(db *gorm.DB, userIds []uint64) (map[uint64]UserNoble, e start += NUM end += NUM } - mylogrus.MyLog.Infof("BatchGetActiveNoble expected:%v,actual:%v,notEndUids:%v", len(userIds), len(result), notEndUids) + //mylogrus.MyLog.Infof("BatchGetActiveNoble expected:%v,actual:%v,notEndUids:%v", len(userIds), len(result), notEndUids) if len(userIds) != len(result) { mylogrus.MyLog.Warnf("BatchGetActiveNoble expected:%v", userIds) } @@ -177,4 +177,4 @@ func BatchGetNobleLevel(db *gorm.DB, userIds []uint64) (map[uint64]uint16, error result[i] = m[i].Level } return result, nil -} \ No newline at end of file +} diff --git a/domain/model/user_m/medal.go b/domain/model/user_m/medal.go index 8930c194743832965bf0402d6d2bbd380a49a2cd..c77cc3c748c64603a69dc9a487f5f2558cef59c8 100644 --- a/domain/model/user_m/medal.go +++ b/domain/model/user_m/medal.go @@ -48,8 +48,8 @@ func GetUserMedalMerge(logger *logrus.Entry, db *gorm.DB, userId mysql.ID) ([]ui if err != nil { return nil, err } - logger.Infof("GetUserMedalLevelMap, user %d, medalMap %+v", medalTypes) - logger.Infof("GetUserMedalLevelMap, user %d, medalList %+v", medalList) + //logger.Infof("GetUserMedalLevelMap, user %d, medalMap %+v", medalTypes) + //logger.Infof("GetUserMedalLevelMap, user %d, medalList %+v", medalList) maxGrades := make(map[uint8]int, 0) maxMedalIds := make(map[uint8]uint32, 0)