diff --git a/server/app/dice/validate/lottery_pool_config/DiceLotteryPoolConfigValidate.php b/server/app/dice/validate/lottery_pool_config/DiceLotteryPoolConfigValidate.php index 2f79ebd..793bfa4 100644 --- a/server/app/dice/validate/lottery_pool_config/DiceLotteryPoolConfigValidate.php +++ b/server/app/dice/validate/lottery_pool_config/DiceLotteryPoolConfigValidate.php @@ -18,7 +18,6 @@ class DiceLotteryPoolConfigValidate extends BaseValidate */ protected $rule = [ 'name' => 'require', - 'type' => 'require', 't1_weight' => 'require', 't2_weight' => 'require', 't3_weight' => 'require', @@ -31,7 +30,6 @@ class DiceLotteryPoolConfigValidate extends BaseValidate */ protected $message = [ 'name' => '名称必须填写', - 'type' => '奖池类型必须填写', 't1_weight' => 'T1池权重必须填写', 't2_weight' => 'T2池权重必须填写', 't3_weight' => 'T3池权重必须填写', @@ -45,7 +43,6 @@ class DiceLotteryPoolConfigValidate extends BaseValidate protected $scene = [ 'save' => [ 'name', - 'type', 't1_weight', 't2_weight', 't3_weight', @@ -54,7 +51,6 @@ class DiceLotteryPoolConfigValidate extends BaseValidate ], 'update' => [ 'name', - 'type', 't1_weight', 't2_weight', 't3_weight',