新需求:PK任务 提交
This commit is contained in:
@@ -275,6 +275,10 @@ class Guild extends Model
|
||||
$update_data['is_show_room'] = 1;
|
||||
$update_data['apply_time'] = time();
|
||||
$update_data['remarks'] = $remarks;
|
||||
$room_info = db::name('vs_room')->where(['user_id'=>$is_operate['user_id'],'delete_time'=>0,'type_id'=>['<>',6]])->find();
|
||||
if($room_info){
|
||||
$update_data['room_id'] = $room_info['id'];
|
||||
}
|
||||
//结算比例
|
||||
$configs = get_system_config();
|
||||
//未加入工会的收益
|
||||
|
||||
Reference in New Issue
Block a user