fastadmin快速复习

1、数据库创建以下表并确保php已经写入环境变量


php think crud -t user_class -c mydir/ones     这是创建 CURD
php think crud -t user_class -c mydir/ones -d 1 这是删除CURD

php think crud -t user_class  这是创建 CURD
php think crud -t user_class -d 1 这是删除CURD

 

 


数据库中的注释信息将会直接体现在网页上,字段格式也会直接表现

 


 

 

 

 

 

菜单名称会以数据表名称为主

php think menu -c test 这是创建后台菜单连接

php think menu -c mydir/ones 这是创建后台菜单连接

php think menu -c test -d 1 删除菜单

php think menu -c mydir/ones -d 1 删除菜单

 php think menu -c all-controller 根据已生成的控制器自动生成所有菜单并排序

 

posted @ 2019-05-10 13:51  学画人生  阅读(126)  评论(0编辑  收藏  举报