mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-10 02:37:56 +08:00
update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user