巡乐会抽奖接口提交.-联调- 后台-房间审核时绑定盲盒转盘盘
This commit is contained in:
@@ -1262,10 +1262,16 @@ class Room extends adminApi
|
|||||||
if($apply_status == ''){
|
if($apply_status == ''){
|
||||||
return V(0,"参数错误");
|
return V(0,"参数错误");
|
||||||
}
|
}
|
||||||
$result = db::name('vs_room')->where(['id'=>$id])->update(['apply_status'=>$apply_status]);
|
$result = db::name('vs_room')->where(['id'=>$id])->update([
|
||||||
|
'apply_status'=>$apply_status,
|
||||||
|
'is_open_blind_box_turntable'=>1,
|
||||||
|
'update_time'=>time(),
|
||||||
|
]);
|
||||||
if(!$result){
|
if(!$result){
|
||||||
return V(0,"修改失败");
|
return V(0,"修改失败");
|
||||||
}
|
}
|
||||||
|
//房间绑定盘
|
||||||
|
model('Room')->bindPan($id);
|
||||||
return V(1,"成功");
|
return V(1,"成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user