From 3cbcce0085508e4e3452d09126ad0e917463bc08 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 24 Aug 2023 17:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E6=97=A5=E6=9C=80=E5=A4=9A1800?= =?UTF-8?q?=E7=BB=8F=E9=AA=8C=20=3D=2018=E4=B8=AA10=E5=88=86=E9=92=9F=20?= =?UTF-8?q?=3D=20180=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- domain/model/groupPower_m/group_grade.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/domain/model/groupPower_m/group_grade.go b/domain/model/groupPower_m/group_grade.go index da5cf01..92706e5 100644 --- a/domain/model/groupPower_m/group_grade.go +++ b/domain/model/groupPower_m/group_grade.go @@ -144,8 +144,8 @@ func IncrGroupPowerExpOnMic(model *domain.Model, groupPowerId, userId mysql.ID) return err } model.Redis.Expire(model, key, time.Hour*24) // ttl 一天 - // 每日最多1800经验 = 18分钟 - if minutes > 18 { + // 每日最多1800经验 = 18个10分钟 = 180分钟 + if minutes > 180 { return nil } if minutes%10 == 0 { -- 2.22.0