Ejemplo n.º 1
0
 /**
  * 米客中心-喜欢的图片和事件(滚动加载)
  *
  * @return
  */
 public String enjoyImageJson() {
   // 查询用户喜欢的所有图片
   this.enjoyImageList = userImageService.getEnjoyImageList(tagName, this.userId, begin, size);
   this.generateJsonResult(JsonResult.CODE.SUCCESS, JsonResult.MESSAGE.SUCCESS);
   this.jsonResult.put("userImageList", enjoyImageList);
   return JSON;
 }
Ejemplo n.º 2
0
 /**
  * 米客中心-我的图片
  *
  * @return
  */
 public String userImage() {
   statsMap();
   // 用户制作的所有图片对应的标签
   this.tagList = tagService.getUserImageTagListByUserId(this.userId, 0, 30);
   // 查询用户制作的所有图片
   this.userImageList =
       userImageService.getUserImageListByUserId(tagName, this.userId, begin, size);
   this.tab = "userImage";
   return "userImage";
 }
Ejemplo n.º 3
0
 /**
  * 米客中心-喜欢的图片和事件
  *
  * @return
  */
 public String enjoyImage() {
   statsMap();
   // 用户喜欢的所有图片对应的标签
   this.tagList =
       tagService.getEnjoyTagList(
           new Integer[] {PojoConstant.TAG.TYPE_IMG, PojoConstant.TAG.TYPE_EVENT},
           this.userId,
           0,
           30);
   this.enjoyImageList = userImageService.getEnjoyImageList(tagName, this.userId, begin, size);
   this.tab = "enjoyImage";
   return "enjoyImage";
 }
Ejemplo n.º 4
0
 public void handler() throws IOException {
   userImageService.handlerWidthAndHeight();
   ServletActionContext.getResponse().getWriter().print("ok");
 }