帖子

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);

本方法为临时解决办法,有问题请回帖

https://www.fireself.cn/post/8034

未登录无法操作

评论 0

列表为空,暂无内容
须弥技术

专业PHP开发,运维技术社区

打开 App