mirror of
https://github.com/certd/certd.git
synced 2026-07-16 18:57:32 +08:00
chore: project member
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { request } from "/src/api/service";
|
||||
|
||||
const apiPrefix = "/sys/project/provider";
|
||||
const apiPrefix = "/sys/enterprise/project";
|
||||
const userApiPrefix = "/sys/authority/user";
|
||||
|
||||
export async function GetList(query: any) {
|
||||
return await request({
|
||||
@@ -58,14 +59,6 @@ export async function DeleteBatch(ids: any[]) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function SetDefault(id: any) {
|
||||
return await request({
|
||||
url: apiPrefix + "/setDefault",
|
||||
method: "post",
|
||||
data: { id },
|
||||
});
|
||||
}
|
||||
|
||||
export async function SetDisabled(id: any, disabled: boolean) {
|
||||
return await request({
|
||||
url: apiPrefix + "/setDisabled",
|
||||
|
||||
Reference in New Issue
Block a user