Implemented new API functions to fetch and update agent node profiles, enhancing the management capabilities for agent data. This addition improves the overall functionality of the admin agents console, allowing for better user interaction with agent profiles. Updated related types for improved type safety and clarity in the codebase.
10 lines
338 B
TypeScript
10 lines
338 B
TypeScript
import { redirect } from "next/navigation";
|
||
|
||
/** 兼容旧链接:热门号码已并入风险池 Tab(筛选 >80%)。 */
|
||
export default async function AdminDrawRiskHotPage(props: {
|
||
params: Promise<{ drawId: string }>;
|
||
}) {
|
||
const { drawId } = await props.params;
|
||
redirect(`/admin/draws/${drawId}/risk/pools?filter=high_risk`);
|
||
}
|