api : add api position api group and api users

This commit is contained in:
lukman
2024-07-26 17:44:54 +08:00
parent 4e55c7b061
commit ea7a2ba98c
30 changed files with 267 additions and 29 deletions

View File

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

View File

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