签约房-签约师傅每日返还任务
This commit is contained in:
@@ -107,10 +107,9 @@ class DailyTasks extends Model
|
|||||||
if(empty($user_sign_task)){
|
if(empty($user_sign_task)){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
$v['gold_reward'] = $user_sign_task['value'];
|
||||||
}else{
|
}else{
|
||||||
$user_daily_tasks = Db::name('vs_user_daily_tasks')->where('user_id',$user_id)->where('task_id',$v['task_id'])->find();
|
$user_daily_tasks = Db::name('vs_user_daily_tasks')->where('user_id',$user_id)->where('task_id',$v['task_id'])->find();
|
||||||
$v['gold_reward'] = $user_daily_tasks['value'];
|
|
||||||
$v['gold_reward'] = $user_daily_tasks['value'];
|
|
||||||
}
|
}
|
||||||
$progress = isset($user_daily_tasks['current_progress']) ? $user_daily_tasks['current_progress'] : 0;
|
$progress = isset($user_daily_tasks['current_progress']) ? $user_daily_tasks['current_progress'] : 0;
|
||||||
if($v['task_id'] == 17){
|
if($v['task_id'] == 17){
|
||||||
|
|||||||
Reference in New Issue
Block a user