This commit is contained in:
parent
47b3f27946
commit
6a48c6b345
|
|
@ -38,7 +38,7 @@ public class UserAuthorizationController {
|
|||
*/
|
||||
@PostMapping("/test")
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue