新需求:PK任务 提交
This commit is contained in:
@@ -497,6 +497,8 @@ class Tasks extends Model
|
||||
if(!empty($Victory_user_ids) && in_array($user_id,$Victory_user_ids_array)){
|
||||
//获胜数加1
|
||||
$ext = $user_daily_tasks['ext'] + 1;
|
||||
}else{
|
||||
$ext = $user_daily_tasks['ext'];
|
||||
}
|
||||
$current_progress = $user_daily_tasks['current_progress'] + 1;
|
||||
if($current_progress >= $task_info['target_quantity'] && $user_daily_tasks['ext'] >= 1){
|
||||
|
||||
Reference in New Issue
Block a user