修改DiceLotteryPoolConfig-type改为name映射
This commit is contained in:
@@ -333,7 +333,7 @@ class DiceRewardConfigLogic extends BaseLogic
|
||||
$config = DiceLotteryPoolConfig::find($lotteryConfigId);
|
||||
}
|
||||
if (!$config) {
|
||||
$config = DiceLotteryPoolConfig::where('type', 0)->find();
|
||||
$config = DiceLotteryPoolConfig::where('name', 'default')->find();
|
||||
}
|
||||
if ($config) {
|
||||
$tierWeights = [
|
||||
|
||||
Reference in New Issue
Block a user