更新更新异常
This commit is contained in:
parent
79cb5ce04f
commit
4c25a9eeae
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue