mirror of
https://github.com/PlayEdu/backend
synced 2026-01-07 14:02:07 +08:00
appconfig
This commit is contained in:
9
src/api/app-config.ts
Normal file
9
src/api/app-config.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import client from "./internal/httpClient";
|
||||||
|
|
||||||
|
export function appConfig() {
|
||||||
|
return client.get("/backend/v1/app-config", {});
|
||||||
|
}
|
||||||
|
|
||||||
|
export function saveAppConfig() {
|
||||||
|
return client.put(`/backend/v1/app-config`, {});
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user