爆币后台接口开发提交

This commit is contained in:
2025-12-21 20:01:47 +08:00
parent 444a2c59e8
commit bf3b69da7d
5 changed files with 150 additions and 19 deletions

View File

@@ -45,7 +45,7 @@ class Gift extends Model
// if($room_id){
// $is_open_blind_box_turntable = Db::name('vs_room')->where(['id'=>$room_id])->value('is_open_blind_box_turntable');
// }
$list = $this->field('gid as gift_id,gift_name,base_image,gift_price')->where($map)->where($where)->order('sort asc, gift_price asc')->select();
$list = $this->field('gid as gift_id,gift_name,base_image,gift_price,icon')->where($map)->where($where)->order('sort asc, gift_price asc')->select();
if($label==2){
$list_data = [];
foreach ($list as &$v) {