* Modify the logic of the linear task check operate effort.

This commit is contained in:
tianshujie
2023-06-01 11:36:15 +08:00
parent 0db9b4b39c
commit a02a2ed290
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ r($taskTest->canOperateEffort($task)) && p() && e('1'); //判断当前用户在
$effort = new stdclass();
$effort->account = 'admin';
$task->mode = 'multi';
$task->mode = 'linear';
$task->status = 'done';
r($taskTest->canOperateEffort($task, $effort)) && p() && e('1'); //判断已完成多人任务并且日志创建者和当前用户一致