{{wikiTitle}}
自定义命令
复制链接
编辑文档
根目录配置文件
config下console.php中查看具体命令
1 自动同步路由权限
php think menu
2 整理权限层级关系
php think menu:format
3 将所有商品加入到spu表
php think spu
4 清除缓存素材
php think clear:attachment
5 清除所有数据,除了配置类的基础数据
php think clear:merchant
6 清除已删除的商户数据,
php think clear:redundancy
7 重置平台管理员的密码
php think reset:password
使用方法 :https://q.crmeb.net/thread/6681
8 修改图片地址前缀
php think reset:imagePath
使用方法:php think reset:imagePath http://old.com. --url http://new.com,会将所有的http://old.com开头的图片替换成 http://new.com开头
评论({{cateWiki.comment_num}})
最新
最早
{{cateWiki.page_view_num}}人看过该文档
评论(0)
最新
最早
1493人看过
登录/注册
即可发表评论
{{item.user ? item.user.nickname : ''}}
(自评)
{{item.content}}
搜索结果
为您找到{{wikiCount}}条结果
{{item.page_view_num}}
{{item.like ? item.like.like_num : 0}}
{{item.comment ? item.comment.comment_num : 0}}
位置:
{{path.name}}
{{(i+1) == getCataloguePathData(item.catalogue).length ? '':'/'}}
