修改 接口

master
wangh 1 year ago
parent 8846f84238
commit 3a32b4c105

@ -10,6 +10,7 @@ import io.swagger.annotations.ApiOperation;
import io.swagger.models.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@ -19,6 +20,7 @@ import org.springframework.web.bind.annotation.RestController;
*/
@RestController
@RequestMapping("/broad")
public class ApiController {
@Autowired

@ -1,12 +1,14 @@
package com.haiwei.web.controller.broad;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* @author wanghao
* @date 2023/8/14 10:18
*/
@Controller
@RequestMapping("/broad")
public class BroadController {
}

@ -279,6 +279,7 @@ public class ShiroConfig
filterChainDefinitionMap.put("/ajax/**", "anon");
filterChainDefinitionMap.put("/js/**", "anon");
filterChainDefinitionMap.put("/ruoyi/**", "anon");
filterChainDefinitionMap.put("/broad/**", "anon");
filterChainDefinitionMap.put("/captcha/captchaImage**", "anon");
// 退出 logout地址shiro去清除session
filterChainDefinitionMap.put("/logout", "logout");

Loading…
Cancel
Save