From 023b23a0ef9b67b550b66f07b8c92180a6ffbeba Mon Sep 17 00:00:00 2001 From: 710leo <710leo@gmail.com> Date: Wed, 3 Feb 2021 17:01:54 +0800 Subject: [PATCH] fix build monapi --- src/modules/monapi/scache/stra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/monapi/scache/stra.go b/src/modules/monapi/scache/stra.go index aa125e2a..e764c4c1 100644 --- a/src/modules/monapi/scache/stra.go +++ b/src/modules/monapi/scache/stra.go @@ -21,7 +21,7 @@ func SyncStras() { func syncStras() { logger.Info("[cron] sync stras start...") - start := time.Now().Unix() + start := time.Now() stras, err := models.EffectiveStrasList() if err != nil { logger.Error("sync stras err:", err)