This commit is contained in:
77
2024-05-21 22:18:59 +08:00
parent ad94fac3bd
commit ac7625a7c3
2 changed files with 4 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ public class TenantFilter implements Filter {
IGNORE_URL.add("/login");
IGNORE_URL.add("/captchaImage");
IGNORE_URL.add("/logout");
IGNORE_URL.add("/api/app/check");
}
private static final AntPathMatcher ANT_PATH_MATCHER = new AntPathMatcher();

View File

@@ -2,9 +2,7 @@ package com.ruoyi.dk.controller.app;
import cn.dev33.satoken.annotation.SaIgnore;
import com.ruoyi.component.core.domain.R;
import com.ruoyi.dk.dto.app.req.BorrowStartReq;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -14,8 +12,8 @@ import org.springframework.web.bind.annotation.RestController;
@SaIgnore
public class IndexController {
@PostMapping("/check")
public R<Void> check(@RequestBody BorrowStartReq req){
@GetMapping("/check")
public R<Void> check(){
return R.ok("ok");
}
}