Change authentication request path #8

Merged
FatttSnake merged 4 commits from FatttSnake into dev 2023-10-10 15:47:29 +08:00
2 changed files with 1 additions and 3 deletions
Showing only changes of commit b1044b8beb - Show all commits

View File

@@ -58,7 +58,7 @@ class SecurityConfig(
authorizeHttpRequests
// Allow anonymous access
.requestMatchers(
"/api/v*/login",
"/login",
"/error/thrown",
"/doc.html",
"/swagger-ui/**",

View File

@@ -14,8 +14,6 @@ import top.fatweb.api.service.permission.IAuthenticationService
import top.fatweb.api.util.WebUtil
@Tag(name = "身份认证", description = "身份认证相关接口")
@Suppress("MVCPathVariableInspection")
@RequestMapping("/api/{apiVersion}")
@ApiVersion(2)
@RestController
class AuthenticationController(val authenticationService: IAuthenticationService, val userConverter: UserConverter) {