From 7e125641392bec1646920147a194ed30b2b7035d Mon Sep 17 00:00:00 2001 From: hujiebin Date: Wed, 22 Mar 2023 18:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=8F=E5=B0=91=E4=B8=80=E7=A7=92=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/group_power_r/group_rank.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route/group_power_r/group_rank.go b/route/group_power_r/group_rank.go index 4675356..0c4230a 100644 --- a/route/group_power_r/group_rank.go +++ b/route/group_power_r/group_rank.go @@ -337,7 +337,7 @@ func GroupPowerGradeDetail(c *gin.Context) (*mycontext.MyContext, error) { } expireAt := "" if grade.ExpireAt.After(time.Now()) { - expireAt = grade.ExpireAt.Format("2006-01-02") + expireAt = grade.ExpireAt.Add(-time.Second).Format("2006-01-02") // 减少一秒格式化天 } isMember := false if exits, id, err := groupPower_m.CheckGroupPowerUser(model, userId); err != nil { -- 2.22.0