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

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

@@ -61,5 +61,26 @@ export default {
url: '/dice/play_record/DicePlayRecord/destroy',
data: params
})
},
/** 获取玩家选项id、username */
getPlayerOptions() {
return request.get<{ id: number; username: string }[]>({
url: '/dice/play_record/DicePlayRecord/getPlayerOptions'
})
},
/** 获取彩金池配置选项id、name */
getLotteryConfigOptions() {
return request.get<{ id: number; name: string }[]>({
url: '/dice/play_record/DicePlayRecord/getLotteryConfigOptions'
})
},
/** 获取奖励配置选项id、ui_text、tier */
getRewardConfigOptions() {
return request.get<{ id: number; ui_text: string; tier: string }[]>({
url: '/dice/play_record/DicePlayRecord/getRewardConfigOptions'
})
}
}