diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java index 6013989..248c69c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java @@ -12,6 +12,7 @@ import com.ruoyi.system.domain.qu.ElQu; import com.ruoyi.system.domain.qu.dto.export.QuExportDTO; import com.ruoyi.system.domain.qu.dto.ext.QuDetailDTO; import com.ruoyi.system.domain.qu.dto.request.QuQueryReqDTO; +import com.ruoyi.system.domain.repo.ElRepo; import com.ruoyi.web.controller.manager.QuManager; import com.ruoyi.web.controller.manager.RepoManager; import io.swagger.annotations.Api; @@ -186,7 +187,6 @@ public class QuController extends BaseController { @ApiOperation("导入Excel") - @RequiresPermissions("system:qu:import") @ResponseBody @PostMapping( "/import") public AjaxResult importFile(@RequestParam("file") MultipartFile file) { @@ -217,5 +217,4 @@ public class QuController extends BaseController { - } diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html index 40932fb..947e172 100644 --- a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html +++ b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html @@ -2,9 +2,10 @@
【{{ quData.quType===1?'单选题':'多选题' }}】{{ quData.content }}
-
{{ an.content }}:
{{ an.analysis }}