定版之后bug修改
This commit is contained in:
@@ -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小时
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user