thinkphp config配置信息不生效
2022-11-24 11:10:29
193
{{single.collect_count}}

这是一个很小的细节问题,会导致很多人都误以为是bug,在配置文件增加配置的时候,在调用的时候总是说没有,这个时候需要先检查debug是否开启了,开启的话是不走缓存,能直接拿到,如果关了或走缓存所以会暂时拿不到,可以删除换文件,一样可以拿到

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}