-
Notifications
You must be signed in to change notification settings - Fork 969
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(upms): regiser user can set roleId
BREAKING CHANGE: security important
- Loading branch information
Showing
4 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
pig-upms/pig-upms-api/src/main/java/com/pig4cloud/pig/admin/api/dto/RegisterUserDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.pig4cloud.pig.admin.api.dto; | ||
|
||
import lombok.Data; | ||
|
||
/** | ||
* 注册用户 DTO | ||
* | ||
* @author lengleng | ||
* @date 2024/12/23 | ||
*/ | ||
@Data | ||
public class RegisterUserDTO { | ||
|
||
/** | ||
* 用户名 | ||
*/ | ||
private String username; | ||
|
||
/** | ||
* 新密码 | ||
*/ | ||
private String password; | ||
|
||
/** | ||
* 电话 | ||
*/ | ||
private String phone; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters