From 9c2eb9ed6da32c1830b02431875dacaa7f904b1f Mon Sep 17 00:00:00 2001 From: 黄何裕 <1053952480@qq.com> Date: 星期五, 12 七月 2024 18:16:56 +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