feat(reports, risk, deployment): 支持开注商经营报表、风险池按开注商操作并调整 PM2 部署目录
Some checks failed
lotteryadmin CI / build (push) Has been cancelled

This commit is contained in:
2026-07-10 10:23:46 +08:00
parent 1164d9d728
commit d6826d5a1c
22 changed files with 147 additions and 33 deletions

View File

@@ -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>> {