优化插件更新逻辑

This commit is contained in:
技术老胡
2024-09-05 15:26:03 +08:00
parent ce65756874
commit 461f574b9d
15 changed files with 84 additions and 73 deletions

View File

@@ -31,4 +31,10 @@ class PluginController extends BaseController
return json(\backMsg(1, '失败'));
}
}
// 插件选项
public function pluginOption()
{
$option = Platform::field('platform,name')->where('state', 1)->select();
return json($option);
}
}