From 2bede29486c1c0206639b04245a259d25708b1a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=9A=E4=B8=B9ab?= <1421553879@qq.com>
Date: Sat, 19 Aug 2023 23:10:33 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=B7=AF?=
 =?UTF-8?q?=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 web/src/main/resources/static/js/jlw/resourcesQuestion/add.js   | 2 +-
 .../js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js       | 2 +-
 .../js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web/src/main/resources/static/js/jlw/resourcesQuestion/add.js b/web/src/main/resources/static/js/jlw/resourcesQuestion/add.js
index 82c2a879..1916cee7 100644
--- a/web/src/main/resources/static/js/jlw/resourcesQuestion/add.js
+++ b/web/src/main/resources/static/js/jlw/resourcesQuestion/add.js
@@ -6,7 +6,7 @@ layui.define([ 'form', 'laydate', 'table','resourcesQuestionApi',"layedit"], fun
     layedit.set({ //富文本上传图片
         uploadImage: {
             url: Common.ctxPath + "/jlw/file/update.do",
-            imgUrl:"http://localhost:9090/server"
+            imgUrl:Common.ctxPath
         }
     });
     var questionStem_ = layedit.build('questionStem',{height:100}); //题干
diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js
index b7ab61d8..0848361d 100644
--- a/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js
+++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js
@@ -11,7 +11,7 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseHandsOnSimulationTas
     layedit.set({ //富文本上传图片
         uploadImage: {
             url: Common.ctxPath + "/jlw/file/update.do",
-            imgUrl:"http://localhost:9090/server"
+            imgUrl:Common.ctxPath
         }
     });
     var one = layedit.build('test-editor1'); //建立编辑器
diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js
index e71b801f..ef84dae3 100644
--- a/web/src/main/resources/static/js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js
+++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js
@@ -10,7 +10,7 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseMergeResourcesQuesti
     layedit.set({ //富文本上传图片
         uploadImage: {
             url: Common.ctxPath + "/jlw/file/update.do",
-            imgUrl:"http://localhost:9090/server"
+            imgUrl:Common.ctxPath
         }
     });
     var questionStem_ = layedit.build('questionStem',{height:100}); //题干