Merge remote-tracking branch 'origin/release-2024-04-25' into release-2024-04-25

release-2024-04-25
pikaqiudeshujia 2 days ago
commit f1bcd8c3ca

@ -430,7 +430,7 @@ public class CommentController extends BaseController {
List<CommentResp> list = (List<CommentResp>) cacheChannel.get(Constants.J2CACHE_REGION_JOURNAL_COMMENT_PAGE_CHILDREN+"_"+parentId,page+"_"+size, key->getChildrenCommentList(parentId,page,size),true).getValue(); List<CommentResp> list = (List<CommentResp>) cacheChannel.get(Constants.J2CACHE_REGION_JOURNAL_COMMENT_PAGE_CHILDREN+"_"+parentId,page+"_"+size, key->getChildrenCommentList(parentId,page,size),true).getValue();
// List<CommentResp> list = getChildrenCommentList(parentId,page,size); // List<CommentResp> list = getChildrenCommentList(parentId,page,size);
//验证是否登录并且拿到ID //验证是否登录并且拿到ID
Integer count = (Integer) cacheChannel.get(Constants.J2CACHE_REGION_JOURNAL_COMMENT_PAGE_CHILDREN_COUNT,parentId, key->getChildrenCommentListCount(parentId,page,size),true).getValue(); String count = cacheChannel.get(Constants.J2CACHE_REGION_JOURNAL_COMMENT_PAGE_CHILDREN_COUNT,parentId, key->getChildrenCommentListCount(parentId,page,size),true).getValue().toString();
UserLoginDto userLoginDto = getUserLoginDto(authorization); UserLoginDto userLoginDto = getUserLoginDto(authorization);
if (null == userLoginDto) { if (null == userLoginDto) {

@ -43,7 +43,7 @@ public class Carousel implements Serializable {
private String imgPath; private String imgPath;
/** /**
* 0: 1: 2: 3: * 0: 1: 2: 3: 4: 5: 6:
*/ */
@ApiModelProperty(value = "0:歌曲 1:期刊 2:外部连接 3:文章") @ApiModelProperty(value = "0:歌曲 1:期刊 2:外部连接 3:文章")
private Integer objectType; private Integer objectType;

Loading…
Cancel
Save