任务功能提交-联调-修改错误

This commit is contained in:
2025-12-11 20:17:22 +08:00
parent 95b6f4ce4d
commit 624bae5acd

View File

@@ -276,7 +276,7 @@ class Tasks extends Model
return ['code' => 0, 'msg' => '任务不存在或已删除','data' => null];
}
if($ext_value==1){
if($task_info['target_quantity'] >= $task_student['value']){
if($task_info['target_quantity'] <= $task_student['value']){
return ['code' => 1, 'msg' => '操作成功','data' => ['is_completed'=>1]];
}else{
$current_progress = $task_student['value']+1;