完成品

This commit is contained in:
2025-09-19 02:58:43 +08:00
parent ffa1e45f63
commit b5e8cce2f3
10 changed files with 926 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ export async function GET(request: NextRequest) {
try {
const { searchParams } = new URL(request.url)
const page = parseInt(searchParams.get('page') || '1')
const limit = parseInt(searchParams.get('limit') || '10')
const limit = parseInt(searchParams.get('limit') || '5')
const search = searchParams.get('search') || ''
const category = searchParams.get('category') || 'all'
const type = searchParams.get('type') || 'all'