优化色子奖励表路由
This commit is contained in:
@@ -49,10 +49,7 @@ export default {
|
|||||||
/**
|
/**
|
||||||
* 权重编辑弹窗:批量更新当前方向的权重(单方向)
|
* 权重编辑弹窗:批量更新当前方向的权重(单方向)
|
||||||
*/
|
*/
|
||||||
batchUpdateWeightsByDirection(
|
batchUpdateWeightsByDirection(direction: 0 | 1, items: Array<{ id: number; weight: number }>) {
|
||||||
direction: 0 | 1,
|
|
||||||
items: Array<{ id: number; weight: number }>
|
|
||||||
) {
|
|
||||||
return request.post<any>({
|
return request.post<any>({
|
||||||
url: '/core/dice/reward/DiceReward/batchUpdateWeightsByDirection',
|
url: '/core/dice/reward/DiceReward/batchUpdateWeightsByDirection',
|
||||||
data: { direction, items }
|
data: { direction, items }
|
||||||
|
|||||||
Reference in New Issue
Block a user