mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-10-22 02:13:44 +08:00
更新插件管理
This commit is contained in:
@@ -68,10 +68,8 @@ class PluginController extends BaseController
|
||||
{
|
||||
$platform = $this->request->post('platform');
|
||||
if (!$platform) return json(backMsg(1, '请选择插件'));
|
||||
$res2 = $this->delPluginFile($platform);
|
||||
if (!$res2) return json(backMsg(1, '插件文件不存在'));
|
||||
$res1 = $this->delPlugin($platform);
|
||||
if (!$res1) return json(backMsg(1, '插件配置不存在'));
|
||||
$this->delPluginFile($platform);
|
||||
$this->delPlugin($platform);
|
||||
return json(backMsg(0, '卸载成功'));
|
||||
}
|
||||
// 添加或更新插件
|
||||
|
Reference in New Issue
Block a user