修改后端接口

This commit is contained in:
2025-09-25 17:43:54 +08:00
parent 5b6b7e0a96
commit 76b5393182
31 changed files with 2155 additions and 468 deletions

View File

@@ -46,7 +46,7 @@ const getEmployees = async (req, res) => {
where,
limit,
offset,
order: [['createdAt', 'DESC']],
order: [['created_at', 'DESC']],
attributes: {
exclude: ['password'] // 不返回密码
}