fix: 合并冲突解决
This commit is contained in:
commit
72d1d8a7c4
4 files changed
+8
-3
No files matched your search
@@ -25,8 +25,8 @@ public class AuthController {
|
||||
@Operation(summary = "登录")
|
||||
@PostMapping("/login")
|
||||
public Result<LoginResult> login(
|
||||
@Parameter(name = "用户名",example = "admin") @RequestParam String username,
|
||||
@Parameter(name = "密码") @RequestParam String password
|
||||
@Parameter( description= "用户名",example = "admin") @RequestParam String username,
|
||||
@Parameter(description = "密码") @RequestParam String password
|
||||
) {
|
||||
UsernamePasswordAuthenticationToken authenticationToken = new UsernamePasswordAuthenticationToken(
|
||||
username.toLowerCase().trim(),
|
||||
|
||||
Reference in new issue
Block a user