优化色子奖励表路由

This commit is contained in:
2026-03-13 09:50:30 +08:00
parent e8620998ae
commit 7445dc4cb0

View File

@@ -49,10 +49,7 @@ export default {
/**
* 权重编辑弹窗:批量更新当前方向的权重(单方向)
*/
batchUpdateWeightsByDirection(
direction: 0 | 1,
items: Array<{ id: number; weight: number }>
) {
batchUpdateWeightsByDirection(direction: 0 | 1, items: Array<{ id: number; weight: number }>) {
return request.post<any>({
url: '/core/dice/reward/DiceReward/batchUpdateWeightsByDirection',
data: { direction, items }