diff --git a/app/api/controller/UserPersonal.php b/app/api/controller/UserPersonal.php index 6761f8f..35bc6bd 100644 --- a/app/api/controller/UserPersonal.php +++ b/app/api/controller/UserPersonal.php @@ -56,6 +56,7 @@ class UserPersonal extends ApiController $param = get_params(); if (!empty($param['id']) && $param['id'] > 0) { $param['update_time'] = time(); + $param['move_time'] = isset($param['move_time']) ? strtotime($param['move_time']) : 0; $res = Db::name('DepartmentChange')->strict(false)->field(true)->update($param); add_log('edit', $param['id'], $param); } else {