feat(reports, risk, deployment): 支持开注商经营报表、风险池按开注商操作并调整 PM2 部署目录
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
This commit is contained in:
@@ -5,6 +5,7 @@ import type {
|
||||
AdminReportDailyProfitRow,
|
||||
AdminReportListData,
|
||||
AdminReportPlayDimensionRow,
|
||||
AdminReportProviderProfitRow,
|
||||
AdminReportPlayerWinLossRow,
|
||||
AdminReportQueryParams,
|
||||
} from "@/types/api/admin-reports";
|
||||
@@ -19,6 +20,12 @@ export async function getAdminReportDailyProfit(
|
||||
});
|
||||
}
|
||||
|
||||
export async function getAdminReportProviderProfit(
|
||||
params: AdminReportQueryParams,
|
||||
): Promise<AdminReportListData<AdminReportProviderProfitRow>> {
|
||||
return adminRequest.get<AdminReportListData<AdminReportProviderProfitRow>>(`${A}/reports/provider-profit`, { params });
|
||||
}
|
||||
|
||||
export async function getAdminReportPlayerWinLoss(
|
||||
params: AdminReportQueryParams,
|
||||
): Promise<AdminReportListData<AdminReportPlayerWinLossRow>> {
|
||||
|
||||
Reference in New Issue
Block a user