1.优化工作台页面/dashboard/console
2.移除岗位管理相关代码和数据库
This commit is contained in:
@@ -52,6 +52,16 @@ export interface NewPlayerItem {
|
||||
name: string
|
||||
coin: number
|
||||
total_ticket_count: number
|
||||
create_time: string
|
||||
}
|
||||
|
||||
/** 玩家游玩记录项 */
|
||||
export interface PlayRecordItem {
|
||||
player_name: string
|
||||
reward_tier: string
|
||||
reward_tier_label: string
|
||||
win_coin: number
|
||||
create_time: string
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,3 +74,13 @@ export function fetchNewPlayerList() {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 工作台-玩家游玩记录(最新50条)
|
||||
* @returns 列表
|
||||
*/
|
||||
export function fetchPlayRecordList() {
|
||||
return request.get<PlayRecordItem[]>({
|
||||
url: '/core/dice/dashboard/playRecordList'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user