mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:07:06 +00:00
[feature](auth)Add role to user registration.
This commit is contained in:
@@ -15,4 +15,6 @@ public class UserReq {
|
|||||||
|
|
||||||
@NotBlank(message = "password can not be null")
|
@NotBlank(message = "password can not be null")
|
||||||
private String newPassword;
|
private String newPassword;
|
||||||
|
|
||||||
|
private String role;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user