From afdb091a3e4994250d8228fd1238658b45a4e35e Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 10 七月 2024 15:41:24 +0800 Subject: [PATCH] 教学资源增加分类 --- src/api/modules/file.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/modules/file.js b/src/api/modules/file.js index ecf2801..bce9bbd 100644 --- a/src/api/modules/file.js +++ b/src/api/modules/file.js @@ -1,5 +1,5 @@ import service from "@/api"; -export const getFileList = () => { - return service.get('/api/student/education/resource/page'); -}; \ No newline at end of file +export const getFileList = (getData = {introduction: '', subjectId: '', contentType: ''}) => { + return service.get('/api/student/education/resource/page', {params: getData}); +}; -- Gitblit v1.8.0