定版之后bug修改

This commit is contained in:
2025-09-19 16:13:41 +08:00
parent f499949d3e
commit 90e5d2541d
6 changed files with 50 additions and 32 deletions

View File

@@ -886,11 +886,7 @@ class BlindBoxTurntableGiftDraw extends Model
$cacheKey = 'xlh_config_13';
return Cache::remember($cacheKey, function() {
$xlh_box = db::name('vs_gift_bag')->where('id', 13)->find();
$return_data = $xlh_box ? json_decode($xlh_box['ext'], true) : [];
if($xlh_box){
$return_data['gift_bag_name'] = $xlh_box['gift_bag_name'];
}
return $return_data;
return $xlh_box ? json_decode($xlh_box['ext'], true) : [];
}, 3600); // 缓存1小时
}