code: protected Integer getUserId() {
          Integer userId = ThreadContext.getContext(UserWebConstant.CTX_USERID);
          if (userId != null) {
              return userId;
          }
          return null;
      }
docs: 获得请求中要操作的userId
  
  @return 用户id