使用命令停止和卸载应用
当出现无法在后台对应用的操作,可使用命令执行。
# 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')"
💬 回复 (0)
暂无回复,快来发表第一个回复吧!