From c010b71828781b1025c885ce34d1492982088b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Fri, 10 Mar 2023 13:49:54 +0800 Subject: [PATCH] appconfig --- src/api/app-config.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/api/app-config.ts diff --git a/src/api/app-config.ts b/src/api/app-config.ts new file mode 100644 index 0000000..5ee5f5a --- /dev/null +++ b/src/api/app-config.ts @@ -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`, {}); +}