mirror of
https://github.com/PlayEdu/backend
synced 2025-06-29 01:22:48 +08:00
appconfigAPI设置
This commit is contained in:
parent
c010b71828
commit
8fd8b597f5
@ -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 });
|
||||
}
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user