Ejemplo n.º 1
0
  /**
   * 找到单个Channel,用于编辑Channel信息界面加载信息
   *
   * @param channelId
   * @param context
   * @throws WebxException
   */
  public void execute(
      @Param("userId") Long userId,
      @Param("pageIndex") int pageIndex,
      @Param("searchKey") String searchKey,
      Context context,
      Navigator nav)
      throws Exception {
    User user = userService.findUserById(userId);

    context.put("user", user);
    context.put("pageIndex", pageIndex);
    context.put("searchKey", searchKey);
  }