mirror of
https://github.com/certd/certd.git
synced 2026-05-16 05:07:32 +08:00
19 lines
357 B
TypeScript
19 lines
357 B
TypeScript
// @ts-ignore
|
|
import { request } from "/src/api/service";
|
|
const apiPrefix = "/sys/site";
|
|
|
|
export async function SettingsGet() {
|
|
return await request({
|
|
url: apiPrefix + "/get",
|
|
method: "post",
|
|
});
|
|
}
|
|
|
|
export async function SettingsSave(setting: any) {
|
|
await request({
|
|
url: apiPrefix + "/save",
|
|
method: "post",
|
|
data: setting,
|
|
});
|
|
}
|