|
@@ -32,7 +32,7 @@ public class QuestionInfoController extends BaseController{
|
|
|
/**
|
|
|
* 查询题库列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('question:info:list')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('question:info:list')")
|
|
|
@GetMapping("/list")
|
|
|
@ApiOperation("查询题库列表")
|
|
|
@ApiImplicitParams({
|
|
@@ -48,7 +48,7 @@ public class QuestionInfoController extends BaseController{
|
|
|
/**
|
|
|
* 导出题库列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('question:info:export')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('question:info:export')")
|
|
|
@Log(title = "题库", businessType = BusinessTypeEnum.EXPORT)
|
|
|
@GetMapping("/export")
|
|
|
@ApiOperation("导出题库列表Excel")
|
|
@@ -61,7 +61,7 @@ public class QuestionInfoController extends BaseController{
|
|
|
/**
|
|
|
* 获取题库详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('question:info:query')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('question:info:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
@ApiOperation("获取题库详细信息")
|
|
|
public Response<QuestionInfo> getInfo(
|
|
@@ -74,7 +74,7 @@ public class QuestionInfoController extends BaseController{
|
|
|
/**
|
|
|
* 新增题库
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('question:info:add')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('question:info:add')")
|
|
|
@Log(title = "题库", businessType = BusinessTypeEnum.INSERT)
|
|
|
@PostMapping
|
|
|
@ApiOperation("新增题库")
|
|
@@ -85,7 +85,7 @@ public class QuestionInfoController extends BaseController{
|
|
|
/**
|
|
|
* 修改题库
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('question:info:edit')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('question:info:edit')")
|
|
|
@Log(title = "题库", businessType = BusinessTypeEnum.UPDATE)
|
|
|
@PutMapping
|
|
|
@ApiOperation("修改题库")
|
|
@@ -96,7 +96,7 @@ public class QuestionInfoController extends BaseController{
|
|
|
/**
|
|
|
* 删除题库
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('question:info:remove')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('question:info:remove')")
|
|
|
@Log(title = "题库", businessType = BusinessTypeEnum.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
@ApiOperation("删除题库")
|