mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
perf: [comm] 支持插件管理
This commit is contained in:
@@ -57,3 +57,11 @@ export async function DeleteBatch(ids: any[]) {
|
||||
data: { ids }
|
||||
});
|
||||
}
|
||||
|
||||
export async function SetDisabled(bean: { id?: number; name?: string; type?: string; disabled: boolean }) {
|
||||
return await request({
|
||||
url: apiPrefix + "/setDisabled",
|
||||
method: "post",
|
||||
data: bean
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user