upd: refactor folder

This commit is contained in:
amel
2024-08-14 17:42:01 +08:00
parent de7ace8d49
commit a91fd8949c
30 changed files with 100 additions and 670 deletions

View File

@@ -1,7 +0,0 @@
import { apiUser } from "@/module/user";
import { NextRequest } from "next/server";
export async function GET(req: NextRequest) {
return apiUser(req, "GET")
}

View File

@@ -1,7 +0,0 @@
import { apiUser } from "@/module/user";
import { NextRequest } from "next/server";
export async function POST(req: NextRequest) {
return apiUser(req, "POST")
}