1.将部门修改为渠道,并且所有dice_表关联渠道表
2.将所有配置表,记录表设置关联渠道 3.优化后台页面设置
This commit is contained in:
@@ -1,32 +1,36 @@
|
||||
import request from '@/utils/http'
|
||||
|
||||
export type DashboardQueryParams = {
|
||||
dept_id?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* 大富翁工作台卡片统计(玩家注册、充值、提现、游玩次数,含较上周对比)
|
||||
* @returns 响应
|
||||
*/
|
||||
export function fetchStatistics() {
|
||||
export function fetchStatistics(params?: DashboardQueryParams) {
|
||||
return request.get<any>({
|
||||
url: '/core/dice/dashboard/statistics'
|
||||
url: '/core/dice/dashboard/statistics',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 近期玩家充值统计(近10天每日充值金额)
|
||||
* @returns 响应
|
||||
*/
|
||||
export function fetchRechargeChart() {
|
||||
export function fetchRechargeChart(params?: DashboardQueryParams) {
|
||||
return request.get<any>({
|
||||
url: '/core/dice/dashboard/rechargeChart'
|
||||
url: '/core/dice/dashboard/rechargeChart',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 月度玩家充值汇总(当年1-12月每月充值金额)
|
||||
* @returns 响应
|
||||
*/
|
||||
export function fetchRechargeBarChart() {
|
||||
export function fetchRechargeBarChart(params?: DashboardQueryParams) {
|
||||
return request.get<any>({
|
||||
url: '/core/dice/dashboard/rechargeBarChart'
|
||||
url: '/core/dice/dashboard/rechargeBarChart',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
@@ -39,11 +43,11 @@ export interface WalletRecordItem {
|
||||
|
||||
/**
|
||||
* 工作台-玩家充值记录(最新50条)
|
||||
* @returns 列表
|
||||
*/
|
||||
export function fetchWalletRecordList() {
|
||||
export function fetchWalletRecordList(params?: DashboardQueryParams) {
|
||||
return request.get<WalletRecordItem[]>({
|
||||
url: '/core/dice/dashboard/walletRecordList'
|
||||
url: '/core/dice/dashboard/walletRecordList',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
@@ -66,21 +70,20 @@ export interface PlayRecordItem {
|
||||
|
||||
/**
|
||||
* 工作台-新增玩家记录(最新50条)
|
||||
* @returns 列表
|
||||
*/
|
||||
export function fetchNewPlayerList() {
|
||||
export function fetchNewPlayerList(params?: DashboardQueryParams) {
|
||||
return request.get<NewPlayerItem[]>({
|
||||
url: '/core/dice/dashboard/newPlayerList'
|
||||
url: '/core/dice/dashboard/newPlayerList',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 工作台-玩家游玩记录(最新50条)
|
||||
* @returns 列表
|
||||
*/
|
||||
export function fetchPlayRecordList() {
|
||||
export function fetchPlayRecordList(params?: DashboardQueryParams) {
|
||||
return request.get<PlayRecordItem[]>({
|
||||
url: '/core/dice/dashboard/playRecordList'
|
||||
url: '/core/dice/dashboard/playRecordList',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user