You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
509 B
TypeScript

/**模型镜像模块 mock */
import { mockGetModelImageListData } from './pools/modelImageData';
import { successMockApiProps } from './typing';
import { fetchCurrPageByList, fetchMockSuccessFullByOther } from './utils/apiMock';
export default {
// 选择模型镜像列表
'POST /api/v1/model_image/getModelImageList': async (req: Request, res: Response) => {
const resData: successMockApiProps = {
...fetchMockSuccessFullByOther(mockGetModelImageListData),
};
res.send(resData);
}
};