Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
2025-10-27 19:11:34 +08:00
3 changed files with 14 additions and 1 deletions

View File

@@ -829,6 +829,13 @@ class Ceshi extends Controllers
//数组末尾添加元素 //数组末尾添加元素
array_push($res, '房间盘删除失败!'); array_push($res, '房间盘删除失败!');
} }
$reslut76 = db::name('vs_gift_bag_receive_pan_log')->where('id','>', 0)->delete();
if($reslut76){
$i++ ;
}else{
//数组末尾添加元素
array_push($res, '礼物背包领取盘日志删除失败!');
}
//数据提交 //数据提交
db::commit(); db::commit();

View File

@@ -33,7 +33,12 @@ class Page extends controller
{ {
$id = input('id', ''); $id = input('id', '');
$reslut = model('Page')->get_page($id); $reslut = model('Page')->get_page($id);
$html = $reslut['content'] ? $reslut['content'] : ''; if($reslut){
$html = $reslut['content'] ??'';
}else{
$html = '';
}
//解析html //解析html
$html = htmlspecialchars_decode($html); $html = htmlspecialchars_decode($html);
return $html; return $html;

View File

@@ -77,6 +77,7 @@ class RoomSong extends Model
}else{ }else{
return ['code'=>0,'msg'=>'点歌中!请稍后再试!','data'=>null]; return ['code'=>0,'msg'=>'点歌中!请稍后再试!','data'=>null];
} }
return ['code'=>0,'msg'=>'系统繁忙!请稍后再试!','data'=>null];
} }