zhxy-jzd/src/api/base/server.ts
2025-04-30 01:43:23 +08:00

27 lines
648 B
TypeScript

// 参数接口
// 响应接口
import {get, post} from "@/utils/request";
/**
* 获取服务器时间
*/
export const serverTimeApi = async () => {
return await get('/api/server/serverTime')
}
export const standardWordsRandomApi = async () => {
return await get('/api/standardWords/findRandom')
}
export const cmsArticleFindPageApi = async (params: any) => {
return await get("/api/cmsArticle/findPage", params);
};
export const agencyAgencyListApi = async () => {
return await get("/api/agency/agencyList");
};
export const serverCheckInRangeTimeApi = async () => {
return await get("/api/server/checkInRangeTime");
};