thinkphp6 自定义扩展目录
2022-11-24 11:10:29
157
{{single.collect_count}}

1.自定义的类一般写在extend目录,但是可以自定义一个目录用来写扩展类;

这个是自定义的类,要在控制器调用的话还要改composer文件

然后在命令行composer  update一下,就可以调用了

回帖
全部回帖({{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 ? '加载中...' : '查看更多评论'}}