更新细节

This commit is contained in:
yaooo 2023-11-01 10:53:52 +08:00
parent 6cb4ad03e4
commit 4d4a4488bb
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class UserUser extends ApiController
$this->apiError("员工不存在"); $this->apiError("员工不存在");
} }
$detail['entry_time'] = date('Y-m-d', $detail['entry_time']); $detail['entry_time'] = date('Y-m-d', $detail['entry_time']);
$detail['update_time'] = date('Y-m-d', $detail['update_time']); $detail['update_time'] = date('Y-m-d H:i:s', $detail['update_time']);
unset($detail['pwd'], $detail['salt'], $detail['reg_pwd']); unset($detail['pwd'], $detail['salt'], $detail['reg_pwd']);
$this->apiSuccess('操作成功', $detail); $this->apiSuccess('操作成功', $detail);
} }