liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyTopicController.java
@@ -39,7 +39,7 @@
    /**
     * 查询题目列表
     */
    @PreAuthorize("@ss.hasPermi('system:topic:list')")
    //@PreAuthorize("@ss.hasPermi('system:topic:list')")
    @PostMapping("/list")
    public TableDataInfo list(@RequestBody SvyTopic svyTopic) {
        startPage();
@@ -50,7 +50,7 @@
    /**
     * 导出题目列表
     */
    @PreAuthorize("@ss.hasPermi('system:topic:export')")
    //@PreAuthorize("@ss.hasPermi('system:topic:export')")
    @Log(title = "题目", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, SvyTopic svyTopic) {
@@ -62,7 +62,7 @@
    /**
     * 获取题目详细信息
     */
    @PreAuthorize("@ss.hasPermi('system:topic:query')")
    //@PreAuthorize("@ss.hasPermi('system:topic:query')")
    @GetMapping(value = "/{topicid}")
    public AjaxResult getInfo(@PathVariable("topicid") Long topicid) {
        return success(svyTopicService.selectSvyTopicByTopicid(topicid));
@@ -71,7 +71,7 @@
    /**
     * 新增题目
     */
    @PreAuthorize("@ss.hasPermi('system:topic:add')")
    //@PreAuthorize("@ss.hasPermi('system:topic:add')")
    @Log(title = "题目", businessType = BusinessType.INSERT)
    @PostMapping("/add")
    public AjaxResult add(@RequestBody SvyTopic svyTopic) {
@@ -81,7 +81,7 @@
    /**
     * 修改题目
     */
    @PreAuthorize("@ss.hasPermi('system:topic:edit')")
    //@PreAuthorize("@ss.hasPermi('system:topic:edit')")
    @Log(title = "题目", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody SvyTopic svyTopic) {
@@ -91,7 +91,7 @@
    /**
     * 删除题目
     */
    @PreAuthorize("@ss.hasPermi('system:topic:remove')")
    //@PreAuthorize("@ss.hasPermi('system:topic:remove')")
    @Log(title = "题目", businessType = BusinessType.DELETE)
    @GetMapping("/remove/{topicids}")
    public AjaxResult remove(@PathVariable Long[] topicids) {