From 7763bd1eafa1e45b9921aaa04d39838164bdb834 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 28 九月 2023 17:22:25 +0800
Subject: [PATCH] 新任务数量不再过滤当前时间的

---
 api/v1/task.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/api/v1/task.go b/api/v1/task.go
index a03a4f0..419316b 100644
--- a/api/v1/task.go
+++ b/api/v1/task.go
@@ -115,6 +115,7 @@
 
 	taskResponse.Prompt = conf.Conf.Prompt
 	taskResponse.ChannelAmount = channelAmount
+	taskResponse.TaskCount = service.NewTaskService().NewTaskCount()
 
 	ctx.OkWithDetailed(taskResponse)
 }

--
Gitblit v1.8.0