在magento2中我们经常会用到php bin\magento 命令:参数 来完成一些操作,所以就对命令做了一个总结 常见的命令如下: ----------------------------moudule相关的参数--------------------------------------------
1、moudule:status 查看所有module的状态 2、moudule:disable Test_Hello(module的名称) 禁用此module 3、moudule:enable Test_Hello(module的名称) 启用此module 4、module:install -----------------------------setup相关的参数--------------------------------------------
1、setup:upgrade 更新数据 2、setup:static-content:deploy 部署magento的静态内容 3、setup:cron:run 执行cron
----------------------------indexer相关的参数--------------------------------------------
1、indexer:status 索引的状态 2、indexer:reindex 刷新索引 3、indexer:reset 重置索引 ----------------------------cache相关的参数--------------------------------------------
1、cache:status 缓存状态 2、cache:clean 清空缓存 3、cache:flush 刷新缓存 4、cache:enable 开启缓存 5、cache:disable 关闭缓存 (责任编辑:最模板) |





ecshop微信商城系统2016版
人气:1304
乐到家手机数码商城|ecs
人气:548
Fashion Feast时尚盛宴magent
人气:641
ecshop服装批发模板
人气:1389
ecshop秒杀插件272UTF8版本
人气:5034
ecshop佳品网2012模板
人气:2501