任务功能提交-联调-修改错误
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user