| 123456789101112131415161718192021222324252627282930 |
- import axiosInstance from '../../utils/axios';
- // 锁定站 VO 类型
- export interface LotoStationVO {
- id?: number;
- lotoName: string;
- [key: string]: any;
- }
- // 分页参数类型
- export interface PageParam {
- pageNo?: number;
- pageSize?: number;
- [key: string]: any;
- }
- // 分页响应类型
- export interface PageResponse<T> {
- list: T[];
- total: number;
- }
- // 锁定站管理 API
- export const lotoStationApi = {
- // 查询锁定站列表
- listLoto: (params?: PageParam): Promise<PageResponse<LotoStationVO>> => {
- return axiosInstance.get('/iscs/loto-station/page', { params });
- },
- };
|