public Integer getCurrentUserId(HttpServletRequest request) {
        Enumeration<String> auth = request.getHeaders(JwtTokenUtils.TOKEN_HEADER);
        String token = auth.nextElement().replace(JwtTokenUtils.TOKEN_PREFIX, STRING_BLANK);
        return JwtTokenUtils.getUserId(token);
    }
@Author: LarkMidTable
@Date: 2020/9/16 11:14
@Description: base controller
larkmidtable-web/larkmt-admin/src/main/java/com/larkmt/cn/admin/base/BaseController.java