From e8944f042141152f0cd2aa104a6724fd12475e6a Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期五, 14 八月 2020 15:08:10 +0800 Subject: [PATCH] add log --- controllers/restriction.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/controllers/restriction.go b/controllers/restriction.go index 43770d0..da08c1d 100644 --- a/controllers/restriction.go +++ b/controllers/restriction.go @@ -78,6 +78,7 @@ } func isBetween(st string, et string, nowDate string, nowTime time.Time) bool { + fmt.Println("st:", st, "et:", et, "nowDate:", nowDate) if st == nowDate || et == nowDate { return true } else { -- Gitblit v1.8.0