package com.ningdatech.kqapi.user.util;

import com.ningdatech.basic.auth.AbstractLoginUserUtil;
import com.ningdatech.kqapi.security.model.UserInfoDetails;

/**
 * <p>
 * 登录用户信息获取工具类
 * </p>
 *
 * @author liuxinxin
 * @since 12:26 2022/9/30
 */
public class LoginUserUtil extends AbstractLoginUserUtil {

    /**
     * 获取用户信息
     *
     * @return \
     */
    public static UserInfoDetails loginUserDetail() {
        return getLoginUserPrincipal();
    }

}
