封装评查点的相关接口,完成评查点列表的简单搜索和查询
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* 统一导出所有模拟数据
|
||||
*/
|
||||
import { evaluationPointsMockData } from './evaluation_points';
|
||||
import { evaluationPointGroupsMockData } from './evaluation_point_groups';
|
||||
|
||||
/**
|
||||
* 模拟数据响应格式
|
||||
*/
|
||||
export interface MockApiResponse<T> {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: T;
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统模拟数据
|
||||
*/
|
||||
export const mockData = {
|
||||
'/evaluation_points': evaluationPointsMockData,
|
||||
'/evaluation_point_groups': evaluationPointGroupsMockData
|
||||
};
|
||||
Reference in New Issue
Block a user