diff --git a/route/group_power_r/group_rank.go b/route/group_power_r/group_rank.go index 46753561b062aff9b2b5580b0feb438125ed1163..0c4230aad8444a9b8110004af7ae09125d917b83 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 {