修改
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user