Commit 7e125641 authored by hujiebin's avatar hujiebin

减少一秒格式化天

parent 01ce21ce
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment