application/core/manage/logic/MemberLogic.php
public function logLogin($user_id)
    {
        $data = [
            'login_count' => [
                'exp',
                'login_count + 1'
            ],
            'login_time' => time(),
            'login_ip' => Common::getIp()
        ];
        $this->saveUser($user_id, $data);
    }
public function logLogin($user_id)
    {
        $data = [
            'login_count' => [
                'exp',
                'login_count + 1'
            ],
            'login_time' => time(),
            'login_ip' => Common::getIp()
        ];
        $this->saveUser($user_id, $data);
    }
登录日志

@param number $user_id