修改后端接口
This commit is contained in:
@@ -46,7 +46,7 @@ const getEmployees = async (req, res) => {
|
||||
where,
|
||||
limit,
|
||||
offset,
|
||||
order: [['createdAt', 'DESC']],
|
||||
order: [['created_at', 'DESC']],
|
||||
attributes: {
|
||||
exclude: ['password'] // 不返回密码
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user