From b947a816bd329367be169dbf831a02d80b49b9db Mon Sep 17 00:00:00 2001 From: haoyanbin <605649647@qq.com> Date: Thu, 27 Jan 2022 15:14:34 +0800 Subject: [PATCH] Mobile info time --- app/mobile/service/org_player.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/mobile/service/org_player.go b/app/mobile/service/org_player.go index 44affcb..931ab97 100755 --- a/app/mobile/service/org_player.go +++ b/app/mobile/service/org_player.go @@ -627,9 +627,8 @@ func (e *OrgPlayer) GetPageWonderful(evaluateId string, list *[]cDto.Wonderful, func (e *OrgPlayer) GetNowSeasonId() string { reply := new(models.OrgSeason) - now := time.Now() - //negativeM, _ := time.ParseDuration("-5m") - //nowBefore := now.Add(negativeM) + timeObj := time.Now() + var now = timeObj.Format("2006-01-02 03:04:05") err := e.Orm.Table("org_season"). Select("id"). -- 2.18.1