diff --git a/xuanxuan/module/action/ext/model/hook/create.xuanxuan.php b/xuanxuan/module/action/ext/model/hook/create.xuanxuan.php index 0184dd0918..dcc64ff3c8 100644 --- a/xuanxuan/module/action/ext/model/hook/create.xuanxuan.php +++ b/xuanxuan/module/action/ext/model/hook/create.xuanxuan.php @@ -1,7 +1,7 @@ server->remote_addr; + $ip = helper::getRemoteIp(); $last = $this->server->request_time; $this->dao->update(TABLE_USER)->set('visits = visits + 1')->set('ip')->eq($ip)->set('last')->eq($last)->where('account')->eq($actor)->exec(); }