Commit d30b81bc authored by neo's avatar neo

[dev] add permitAll for leave controller

parent 1cd57714
......@@ -20,7 +20,7 @@ import java.util.List;
import java.util.Map;
@RestController
@RequestMapping(value = "/leave")
@RequestMapping(value = "/api/v1/leave")
public class LeaveController {
private static Logger logger = LoggerFactory.getLogger(LeaveController.class);
@Autowired
......
......@@ -16,6 +16,7 @@
<!-- https://springcloud.cc/spring-security-zhcn.html -->
<intercept-url pattern="/api/v1/cache/getallcache" access="permitAll" />
<intercept-url pattern="/api/v1/user/login" access="permitAll" />
<intercept-url pattern="/api/v1/leave/**" access="permitAll" />
<intercept-url pattern="/api/**" access="authenticated" />
<intercept-url pattern="/**" access="permitAll" />
<headers>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment