每日任务添加

This commit is contained in:
1
2025-08-28 17:13:54 +00:00
parent e550502e36
commit 02c0582fe5
7 changed files with 307 additions and 87 deletions

View File

@@ -20,7 +20,7 @@ func (h Controller) AcceptTask(data *task.AcceptTaskInboundInfo, c *entity.Playe
ft, ok := ttt[data.TaskId]
if ok { //如果找到任务
if ft.Status == 0 { //可以接受
ft.Status = 1
ft.Status = 1 //接受
return true
} else {
return false