appconfigAPI设置

This commit is contained in:
禺狨 2023-03-10 13:51:37 +08:00
parent c010b71828
commit 8fd8b597f5
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,6 @@ export function appConfig() {
return client.get("/backend/v1/app-config", {});
}
export function saveAppConfig() {
return client.put(`/backend/v1/app-config`, {});
export function saveAppConfig(data: any) {
return client.put(`/backend/v1/app-config`, { data: data });
}

View File

@ -11,3 +11,4 @@ export * as resourceCategory from "./resource-category";
export * as resource from "./resource";
export * as upload from "./upload";
export * as user from "./user";
export * as appConfig from "./app-config";