主页 介绍 动态 应用 帮助 授权 文档 论坛
首页 / 产品交流 / 使用命令停止和卸载应用

使用命令停止和卸载应用

官方发言人 产品交流 发布于 2026-07-25 08:33:49 广东·佛山 广电网 👁 4 💬 0

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

# 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)

暂无回复,快来发表第一个回复吧!