/** * 此文件为模拟模拟接口的文件,不要复制,仅供参考 */ import { AnyKeyProps } from 'amiya'; export declare const professionOptions: { label: string; value: string; }[]; /** * 模拟列表请求接口,实际过程中请使用 axios 接口 * @param params 查询参数 * */ export declare const listApi: (params: AnyKeyProps) => Promise; /** * 测试接口,实际过程推荐使用 axios 接口 * */ export declare const emptyApi: (params?: any) => Promise; /** * 模拟新增 * @param params 保存参数 */ export declare const addApi: (params: AnyKeyProps) => Promise; /** * 模拟修改 * @param params 保存参数 */ export declare const updateApi: (params: AnyKeyProps) => Promise; /** * 模拟详情 */ export declare const detailApi: (id: string | number) => Promise; /** * 模拟删除 * @param params 删除的 id */ export declare const deleteApi: (params: AnyKeyProps) => Promise; /** * 模拟失败 * @param params 保存参数 */ export declare const errorApi: (params: AnyKeyProps) => Promise;