thinkphp5命令行生成模块,控制器,模型
2022-07-28 14:14:58
119
{{single.collect_count}}

thinkphp5命令行生成模块,以及其他操作

在终端输入
创建模块:
php think build --module 创建的模块名

创建控制器
php think make:controller 模块/方法 --plain

创建模型
php think make:model 模块/模型名

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