// 取消更新登入记录的角色相关信息

master
tping 5 years ago
parent 68d6b39b5d
commit 33ab2a88e3

@ -1416,7 +1416,7 @@ class UserController extends BaseController
log_action($log); log_action($log);
if ($res['id']>0) { if ($res['id']>0) {
$user_play->save($data); $user_play->save($data);
$this->updateLoginRecord($data); // $this->updateLoginRecord($data); // 取消更新登入记录的角色相关信息
} else { } else {
$data['create_time'] = time(); $data['create_time'] = time();
$data['create_ip'] = get_client_ip(); $data['create_ip'] = get_client_ip();
@ -1431,7 +1431,7 @@ class UserController extends BaseController
Log::write('Duplicate Exception:' .json_encode($e->getMessage()), Log::ERR); Log::write('Duplicate Exception:' .json_encode($e->getMessage()), Log::ERR);
} }
$this->updateLoginRecord($data); // $this->updateLoginRecord($data); // 取消更新登入记录的角色相关信息
} }

Loading…
Cancel
Save