[冗余代码]移除游戏配置中一键测试功能

This commit is contained in:
2026-03-13 09:40:52 +08:00
parent 3182d04956
commit e8620998ae
3 changed files with 0 additions and 256 deletions

View File

@@ -95,22 +95,5 @@ export default {
}>({
url: '/core/dice/reward_config/DiceRewardConfig/createRewardReference'
})
},
/**
* 权重配比测试:按当前配置模拟 N 次抽奖,返回各 grid_number 落点次数
* @param test_count 100 | 500 | 1000
* @param save_record 是否保存到 dice_reward_config_record
* @param lottery_config_id 奖池配置IDDiceLotteryPoolConfig用于设定 T1-T5 档位概率;不传则使用 type=0 或均等
*/
runWeightTest(params: {
test_count: number
save_record?: boolean
lottery_config_id?: number | null
}) {
return request.post<{ data: { counts: Record<string, number>; record_id: number | null } }>({
url: '/core/dice/reward_config/DiceRewardConfig/runWeightTest',
data: params
})
}
}