|
|
@@ -1,8 +1,10 @@
|
|
|
package com.ruoyi.web.controller.learn;
|
|
|
|
|
|
import java.util.List;
|
|
|
+import javax.annotation.security.PermitAll;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
+import com.ruoyi.common.annotation.Anonymous;
|
|
|
import com.ruoyi.web.service.PaperService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
@@ -27,7 +29,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
*/
|
|
|
@RestController
|
|
|
@RequestMapping("/learn/paper")
|
|
|
-@Api("后台-学习 - 卷")
|
|
|
+@Api(tags = "后台-学习 - 卷")
|
|
|
public class LearnPaperController extends BaseController
|
|
|
{
|
|
|
@Autowired
|
|
|
@@ -108,6 +110,7 @@ public class LearnPaperController extends BaseController
|
|
|
|
|
|
@GetMapping(value = "/buildAll")
|
|
|
@ApiOperation("批量生成模拟卷一套")
|
|
|
+ @Anonymous
|
|
|
public AjaxResult buildAll(@ApiParam("序号") @RequestParam Integer seq)
|
|
|
{
|
|
|
paperService.buildAllPapers(seq);
|