From ed1fd6f3504a6f158c3d4925454402be5707e115 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 16 Jan 2024 09:56:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/pagoda/model_cycle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pagoda/model_cycle.go b/modules/pagoda/model_cycle.go index f21e5e2ea..1c041d1ed 100644 --- a/modules/pagoda/model_cycle.go +++ b/modules/pagoda/model_cycle.go @@ -43,7 +43,7 @@ func (this *ModelCycle) getPagodaCycleList(uid string) (result *pb.DBPagodaCycle result.Uid = uid result.Itype = 1 result.Rtime = configure.Now().Unix() - if conf, e := this.module.configure.GetPagodaCirculateConf(1, 1); e != nil { + if conf, e := this.module.configure.GetPagodaCirculateConf(1, 1); e == nil { result.Etime = configure.Now().Unix() + int64(conf.Time)*24*3600 } else { err = fmt.Errorf("conf not found: %v", e.Error())