This commit is contained in:
felinae98
2021-09-21 21:10:54 +08:00
parent e24d8e6b75
commit 31c5e283ba
18 changed files with 847 additions and 101 deletions
+9
View File
@@ -0,0 +1,9 @@
import axios from "axios";
import { GlobalConf } from "../utils/type";
const baseUrl = '/hk_reporter/api/'
export async function getGlobalConf(): Promise<GlobalConf> {
const res = await axios.get<GlobalConf>(`${baseUrl}global_conf`);
return res.data;
}