This commit is contained in:
张松 2025-02-18 17:58:49 +08:00
parent 47b3f27946
commit 6a48c6b345
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class UserAuthorizationController {
*/ */
@PostMapping("/test") @PostMapping("/test")
public CzgResult<String> login() { public CzgResult<String> login() {
StpKit.USER.login(1L, null, MyStpLogic.LoginType.MANAGER, false); StpKit.USER.login(1L, null, MyStpLogic.LoginType.USER, false);
return CzgResult.success(StpKit.USER.getTokenValue()); return CzgResult.success(StpKit.USER.getTokenValue());
} }
} }