Initial role user app

This commit is contained in:
湛兮
2026-06-02 14:46:39 +08:00
commit 003dc60111
62 changed files with 7835 additions and 0 deletions
@@ -0,0 +1,11 @@
import { proxyBackendJson } from "@/lib/backend";
import type { AnnouncementDetail } from "@/lib/types";
type Params = {
params: Promise<{ id: string }>;
};
export async function GET(_request: Request, { params }: Params) {
const { id } = await params;
return proxyBackendJson<AnnouncementDetail>(`/mobile/announcements/${encodeURIComponent(id)}`);
}