[色子游戏]玩家-新增玩家钱包操作

This commit is contained in:
2026-03-04 15:04:11 +08:00
parent 00d964ad80
commit 0492e08cc7
10 changed files with 368 additions and 11 deletions

View File

@@ -80,5 +80,21 @@ export default {
url: '/dice/player_wallet_record/DicePlayerWalletRecord/getPlayerWalletBefore',
params: { player_id: playerId }
})
},
/**
* 管理员钱包操作(加点/扣点):更新玩家平台币并创建流水记录
* type 3=加点 4=扣点
*/
adminOperate(params: {
player_id: number
type: 3 | 4
coin: number
remark?: string
}) {
return request.post<any>({
url: '/dice/player_wallet_record/DicePlayerWalletRecord/adminOperate',
data: params
})
}
}