用户数据结构变更

This commit is contained in:
mtvpls
2025-12-24 00:29:00 +08:00
parent 1a0ec53452
commit d63192ef7a
20 changed files with 1680 additions and 245 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ export async function POST(request: NextRequest) {
);
}
// 修改密码
await db.changePassword(username, newPassword);
// 修改密码(只更新V2存储)
await db.changePasswordV2(username, newPassword);
return NextResponse.json({ ok: true });
} catch (error) {