CMSPRO社区

使用命令停止和卸载应用

当出现无法在后台对应用的操作,可使用命令执行。

# 1. 禁用应用(停止运行)
php artisan tinker --execute="app(App\Services\AppManagerService::class)->disableApp('cmspro.tvboxplayer')"

# 2. 卸载应用(删除数据库表 + 清理记录)
php artisan tinker --execute="app(App\Services\AppInstallerService::class)->uninstall('cmspro.tvboxplayer')"
CMSPRO官方工作人员账号!

全部评论 0

暂无评论,快来发表第一条回复吧!
请先 登录 后再回复