zhxy-jsd/src/api/base/server.ts

27 lines
648 B
TypeScript
Raw Normal View History

2025-04-22 10:22:33 +08:00
// 参数接口
// 响应接口
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");
};