27 lines
648 B
TypeScript
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");
|
||
|
|
};
|