From 50c3437ec2e1874df6468bb83a9d5acf40482e6a Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 08 九月 2020 11:08:29 +0800 Subject: [PATCH] rm push msg title and nightMsg for manger --- controllers/restriction.go | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/controllers/restriction.go b/controllers/restriction.go index 87ac8bb..6df5716 100644 --- a/controllers/restriction.go +++ b/controllers/restriction.go @@ -83,7 +83,6 @@ } else { st, e1 := time.Parse("2006-01-02", st) et, e2 := time.Parse("2006-01-02", et) - fmt.Println("e1:", e1, "e2:", e2, st.Before(nowTime), et.After(nowTime)) if e1 == nil && e2 == nil && st.Before(nowTime) && et.After(nowTime) { return true } -- Gitblit v1.8.0