init
This commit is contained in:
@@ -26,6 +26,7 @@ public class TenantFilter implements Filter {
|
|||||||
IGNORE_URL.add("/login");
|
IGNORE_URL.add("/login");
|
||||||
IGNORE_URL.add("/captchaImage");
|
IGNORE_URL.add("/captchaImage");
|
||||||
IGNORE_URL.add("/logout");
|
IGNORE_URL.add("/logout");
|
||||||
|
IGNORE_URL.add("/api/app/check");
|
||||||
}
|
}
|
||||||
private static final AntPathMatcher ANT_PATH_MATCHER = new AntPathMatcher();
|
private static final AntPathMatcher ANT_PATH_MATCHER = new AntPathMatcher();
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,7 @@ package com.ruoyi.dk.controller.app;
|
|||||||
|
|
||||||
import cn.dev33.satoken.annotation.SaIgnore;
|
import cn.dev33.satoken.annotation.SaIgnore;
|
||||||
import com.ruoyi.component.core.domain.R;
|
import com.ruoyi.component.core.domain.R;
|
||||||
import com.ruoyi.dk.dto.app.req.BorrowStartReq;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
@@ -14,8 +12,8 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
@SaIgnore
|
@SaIgnore
|
||||||
public class IndexController {
|
public class IndexController {
|
||||||
|
|
||||||
@PostMapping("/check")
|
@GetMapping("/check")
|
||||||
public R<Void> check(@RequestBody BorrowStartReq req){
|
public R<Void> check(){
|
||||||
return R.ok("ok");
|
return R.ok("ok");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user