WH01243 2 năm trước cách đây
mục cha
commit
e93b585e3e
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      util/data.go

+ 3 - 1
util/data.go

@@ -12,8 +12,10 @@ func ActivityTime(beginDate interface{}) bool {
 		if timeData >= fmt.Sprint(beginDate) {
 			return true
 		}
+		return false
+	} else {
+		return true
 	}
-	return false
 }
 
 //活动创建及修改时间需大于当前时间 不需要改