diff --git a/app/api/controller/UserUser.php b/app/api/controller/UserUser.php index d98aac5..f0d8f63 100644 --- a/app/api/controller/UserUser.php +++ b/app/api/controller/UserUser.php @@ -176,7 +176,7 @@ class UserUser extends ApiController $this->apiError("员工不存在"); } $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']); $this->apiSuccess('操作成功', $detail); }