code: public String info() {
      String userCode = get("user.code");
      if (Strings.isEmpty(userCode)) { return null; }
      List<User> users = entityDao.get(User.class, "code", userCode);
      if (!users.isEmpty()) {
        User user = users.get(0);
        put("user", Strings.concat(userCode, "(", user.getName(), ")"));
      } else {
        put("user", userCode);
      }
      Avatar avatar = avatarBase.getAvatar(userCode);
      put("avatar", avatar);
      return forward();
    }
docs: 查看照片信息