import { NextResponse } from 'next/server';

// POST /api/admin/logout - 管理员登出
export async function POST() {
  const response = NextResponse.json({ success: true });
  
  // 清除管理员会话cookie
  response.cookies.delete('admin_id');
  response.cookies.delete('admin_name');
  response.cookies.delete('admin_role');
  
  return response;
}
