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:
@@ -2,9 +2,12 @@ import { RiskPoolDetailConsole } from "@/modules/risk/risk-pool-detail-console";
|
||||
|
||||
export default async function AdminDrawRiskPoolDetailPage(props: {
|
||||
params: Promise<{ drawId: string; number: string }>;
|
||||
searchParams: Promise<{ provider_code?: string }>;
|
||||
}) {
|
||||
const { drawId, number } = await props.params;
|
||||
const { provider_code } = await props.searchParams;
|
||||
const id = Number(drawId);
|
||||
const providerCode = (provider_code ?? "SG").trim().toUpperCase() || "SG";
|
||||
|
||||
return <RiskPoolDetailConsole drawId={id} number4d={number} />;
|
||||
return <RiskPoolDetailConsole drawId={id} number4d={number} providerCode={providerCode} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user