DiscuzQ版本429更新后帖子列表图片显示为模糊图的问题

找到:app/Api/Controller/Threads ListThreadsV2Controller.php

找到:

$cannotViewPosts = !in_array('thread.viewPosts', $permissions);
$cannotFreeViewPosts = !in_array('thread.freeViewPosts.' . $thread['type'], $permissions);

修改为

$cannotViewPosts = !in_array('category'.$thread["category_id"].'.thread.viewPosts', $permissions);
$cannotFreeViewPosts = !in_array('category'.$thread["category_id"].'.thread.freeViewPosts.' . $thread['type'], $permissions);

本方法为临时解决办法,如还是出现相关问题,可到DiscuzQ官方论坛进行反馈。

原创文章,作者:技术大师,如若转载,请注明出处:https://www.xingkongweb.com/4584.html