|
|
@ -202,11 +202,11 @@ public class CommentController extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commentResp.setTopChildrenComment(topComment);
|
|
|
|
commentResp.setTopChildrenComment(topComment);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commentResp.setThumbupCountString(comment.getThumbupCount()+"");
|
|
|
|
// commentResp.setThumbupCountString(comment.getThumbupCount()+"");
|
|
|
|
commentResp.setThumbupCountInt(comment.getThumbupCount());
|
|
|
|
commentResp.setThumbupCount(comment.getThumbupCount());
|
|
|
|
if(comment.getThumbupCount()>999) {
|
|
|
|
// if(comment.getThumbupCount()>999) {
|
|
|
|
commentResp.setThumbupCountString("999+");
|
|
|
|
// commentResp.setThumbupCountString("999+");
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
return commentResp;
|
|
|
|
return commentResp;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -237,11 +237,11 @@ public class CommentController extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commentResp.setTopChildrenComment(topComment);
|
|
|
|
commentResp.setTopChildrenComment(topComment);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commentResp.setThumbupCountString(comment.getThumbupCount()+"");
|
|
|
|
// commentResp.setThumbupCountString(comment.getThumbupCount()+"");
|
|
|
|
commentResp.setThumbupCountInt(comment.getThumbupCount());
|
|
|
|
commentResp.setThumbupCount(comment.getThumbupCount());
|
|
|
|
if(comment.getThumbupCount()>999) {
|
|
|
|
// if(comment.getThumbupCount()>999) {
|
|
|
|
commentResp.setThumbupCountString("999+");
|
|
|
|
// commentResp.setThumbupCountString("999+");
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
return commentResp;
|
|
|
|
return commentResp;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|