mirror of
https://github.com/PlayEdu/backend
synced 2025-06-30 01:52:50 +08:00
appconfig
This commit is contained in:
parent
cea64b2e1c
commit
c010b71828
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`, {});
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user