docs: 更新项目文档,完善需求和技术细节

This commit is contained in:
ylweng
2025-09-01 03:42:32 +08:00
parent 08a2e0c037
commit 3023748e85
2 changed files with 976 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ router.post('/login', async (req, res, next) => {
const userData = user[0];
// 验证密码
const isValidPassword = await bcrypt.compare(password, userData.password);
const isValidPassword = await bcrypt.compare(password, userData.password_hash);
if (!isValidPassword) {
return res.status(401).json({
code: 401,