增加离线下载功能

This commit is contained in:
mtvpls
2025-12-14 00:22:38 +08:00
parent d467c5067b
commit e711d165eb
11 changed files with 2039 additions and 18 deletions
+1
View File
@@ -6,6 +6,7 @@ export function getAuthInfoFromCookie(request: NextRequest): {
username?: string;
signature?: string;
timestamp?: number;
role?: 'owner' | 'admin' | 'user';
} | null {
const authCookie = request.cookies.get('auth');