From f536f0c98c575bbfd5046ed0501303fd967bb0f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 4 Jul 2019 15:32:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/courses/shixunHomework/Listofworks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index 28395c1d7..9606740dc 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1338,7 +1338,7 @@ class Listofworks extends Component { // 导出实习报告批量 internshipreport = ()=>{ console.log("internshipreport"); - let url = "http://47.96.87.25:48080/zip/shixun_report"; + let url = "/zip/shixun_report"; let homeworkid = this.props.match.params.homeworkid; axios.get((url),{ params: { @@ -1375,7 +1375,7 @@ class Listofworks extends Component { Classstudentachievement=()=>{ console.log("Classstudentachievement"); const course_id = this.props.match.params.coursesId; - let url = "http://47.96.87.25:48080/courses/"+course_id+"/export_member_scores_excel.xlsx"; + let url = "/courses/"+course_id+"/export_member_scores_excel.xlsx"; axios.get((url),{ params: { group_id: this.state.checkedValuesineinfo,