[色子游戏]玩家抽奖记录-优化样式

This commit is contained in:
2026-03-03 16:21:41 +08:00
parent 3606d4635e
commit 878dbbf578
7 changed files with 444 additions and 124 deletions

View File

@@ -23,22 +23,18 @@ class DicePlayRecordValidate extends BaseValidate
'is_win' => 'require',
'win_coin' => 'require',
'reward_config_id' => 'require',
'lottery_id' => 'require',
'lottery_name' => 'require',
];
/**
* 定义错误信息
*/
protected $message = [
'player_id' => '玩家id必须填写',
'player_id' => '玩家必须填写',
'lottery_config_id' => '彩金池配置必须填写',
'lottery_type' => '抽奖类型必须填写',
'is_win' => '中奖必须填写',
'win_coin' => '赢取平台币必须填写',
'reward_config_id' => '奖励配置id必须填写',
'lottery_id' => '奖池必须填写',
'lottery_name' => '奖池名必须填写',
'reward_config_id' => '奖励配置必须填写',
];
/**
@@ -52,8 +48,6 @@ class DicePlayRecordValidate extends BaseValidate
'is_win',
'win_coin',
'reward_config_id',
'lottery_id',
'lottery_name',
],
'update' => [
'player_id',
@@ -62,8 +56,6 @@ class DicePlayRecordValidate extends BaseValidate
'is_win',
'win_coin',
'reward_config_id',
'lottery_id',
'lottery_name',
],
];