更新更新异常

This commit is contained in:
yaooo 2023-11-04 13:56:32 +08:00
parent 79cb5ce04f
commit 4c25a9eeae
1 changed files with 1 additions and 0 deletions

View File

@ -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 {